Fix docs of compare_bytes · qinheping/verify-rust-std@49128a4 (original) (raw)

Original file line number Diff line number Diff line change
@@ -2733,7 +2733,7 @@ extern "rust-intrinsic" {
2733 2733
2734 2734 /// Lexicographically compare `[left, left + bytes)` and `[right, right + bytes)`
2735 2735 /// 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.
2737 2737 ///
2738 2738 /// This underlies things like `<[u8]>::cmp`, and will usually lower to `memcmp`.
2739 2739 ///