Skip to content

Commit 3b13b66

Browse files
Tweak documentation for u8::eq_ignore_ascii_case()
1 parent a527762 commit 3b13b66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/num/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2322,8 +2322,7 @@ impl u8 {
23222322

23232323
/// Checks that two values are an ASCII case-insensitive match.
23242324
///
2325-
/// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`,
2326-
/// but without allocating and copying temporaries.
2325+
/// This is equivalent to `to_ascii_lowercase(a) == to_ascii_lowercase(b)`.
23272326
///
23282327
/// # Examples
23292328
///

0 commit comments

Comments
 (0)