We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4969ea8 commit 49128a4Copy full SHA for 49128a4
core/src/intrinsics.rs
@@ -2733,7 +2733,7 @@ extern "rust-intrinsic" {
2733
2734
/// Lexicographically compare `[left, left + bytes)` and `[right, right + bytes)`
2735
/// as unsigned bytes, returning negative if `left` is less, zero if all the
2736
- /// bytes match, or positive if `right` is greater.
+ /// bytes match, or positive if `left` is greater.
2737
///
2738
/// This underlies things like `<[u8]>::cmp`, and will usually lower to `memcmp`.
2739
0 commit comments