Fix misleading name in AsciiExt docs
This commit is contained in:
parent
ed22606c83
commit
73019ac10e
|
@ -53,7 +53,7 @@ pub trait AsciiExt<T = Self> for Sized? {
|
||||||
fn to_ascii_lowercase(&self) -> T;
|
fn to_ascii_lowercase(&self) -> T;
|
||||||
|
|
||||||
/// Check that two strings are an ASCII case-insensitive match.
|
/// 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.
|
/// but without allocating and copying temporary strings.
|
||||||
fn eq_ignore_ascii_case(&self, other: &Self) -> bool;
|
fn eq_ignore_ascii_case(&self, other: &Self) -> bool;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue