Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4b8e5bd

Browse files
authored
Unrolled build for rust-lang#130658
Rollup merge of rust-lang#130658 - EqualMa:patch-1, r=scottmcm Fix docs of compare_bytes The docs of `compare_bytes`. The return value is positive if <del>`right`</del> `left` is greater
2 parents 8ed95d1 + d44a5fd commit 4b8e5bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

Lines changed: 1 addition & 1 deletion
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)