Fix misleading name in AsciiExt docs

This commit is contained in:
Zbigniew Siciarz 2015-01-05 08:44:18 +01:00
parent ed22606c83
commit 73019ac10e
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ pub trait AsciiExt<T = Self> 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;
}