Skip to content

Commit 73019ac

Browse files
committed
Fix misleading name in AsciiExt docs
1 parent ed22606 commit 73019ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub trait AsciiExt<T = Self> for Sized? {
5353
fn to_ascii_lowercase(&self) -> T;
5454

5555
/// Check that two strings are an ASCII case-insensitive match.
56-
/// Same as `to_ascii_lowercase(a) == to_ascii_lower(b)`,
56+
/// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`,
5757
/// but without allocating and copying temporary strings.
5858
fn eq_ignore_ascii_case(&self, other: &Self) -> bool;
5959
}

0 commit comments

Comments
 (0)