We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78853b commit 5722567Copy full SHA for 5722567
src/libstd/sys_common/wtf8.rs
@@ -876,21 +876,7 @@ impl Hash for Wtf8 {
876
}
877
878
impl Wtf8 {
879
- pub fn is_ascii(&self) -> bool {
880
- self.bytes.is_ascii()
881
- }
882
- pub fn to_ascii_uppercase(&self) -> Wtf8Buf {
883
- Wtf8Buf { bytes: self.bytes.to_ascii_uppercase() }
884
885
- pub fn to_ascii_lowercase(&self) -> Wtf8Buf {
886
- Wtf8Buf { bytes: self.bytes.to_ascii_lowercase() }
887
888
- pub fn eq_ignore_ascii_case(&self, other: &Wtf8) -> bool {
889
- self.bytes.eq_ignore_ascii_case(&other.bytes)
890
891
-
892
pub fn make_ascii_uppercase(&mut self) { self.bytes.make_ascii_uppercase() }
893
- pub fn make_ascii_lowercase(&mut self) { self.bytes.make_ascii_lowercase() }
894
895
896
#[cfg(test)]
0 commit comments