Skip to content

Commit 49128a4

Browse files
authored
Fix docs of compare_bytes
1 parent 4969ea8 commit 49128a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ extern "rust-intrinsic" {
27332733

27342734
/// Lexicographically compare `[left, left + bytes)` and `[right, right + bytes)`
27352735
/// as unsigned bytes, returning negative if `left` is less, zero if all the
2736-
/// bytes match, or positive if `right` is greater.
2736+
/// bytes match, or positive if `left` is greater.
27372737
///
27382738
/// This underlies things like `<[u8]>::cmp`, and will usually lower to `memcmp`.
27392739
///

0 commit comments

Comments
 (0)