diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs index bcd87f6786d..e9b7e33bcf5 100644 --- a/src/libstd/ascii.rs +++ b/src/libstd/ascii.rs @@ -53,7 +53,7 @@ pub trait AsciiExt for Sized? { fn to_ascii_lowercase(&self) -> T; /// Check that two strings are an ASCII case-insensitive match. - /// Same as `to_ascii_lowercase(a) == to_ascii_lower(b)`, + /// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`, /// but without allocating and copying temporary strings. fn eq_ignore_ascii_case(&self, other: &Self) -> bool; }