summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-04-07 11:12:35 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-04-21 09:45:18 +0200
commit572256772e10513ff61e9932d421d0a1e4656e02 (patch)
tree5d76178d0266e22885dc4e74166e578d75f01d35 /src/libstd
parentb78853b6fd9597dc42ccf044fed805851d0a6f91 (diff)
downloadrust-572256772e10513ff61e9932d421d0a1e4656e02.tar.gz
rust-572256772e10513ff61e9932d421d0a1e4656e02.zip
Remove unused methods on the private Wtf8 type
The type and its direct parent module are `pub`, but they’re not reachable outside of std
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys_common/wtf8.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libstd/sys_common/wtf8.rs b/src/libstd/sys_common/wtf8.rs
index dda4e1bab3b..fe7e058091e 100644
--- a/src/libstd/sys_common/wtf8.rs
+++ b/src/libstd/sys_common/wtf8.rs
@@ -876,21 +876,7 @@ impl Hash for Wtf8 {
 }
 
 impl Wtf8 {
-    pub fn is_ascii(&self) -> bool {
-        self.bytes.is_ascii()
-    }
-    pub fn to_ascii_uppercase(&self) -> Wtf8Buf {
-        Wtf8Buf { bytes: self.bytes.to_ascii_uppercase() }
-    }
-    pub fn to_ascii_lowercase(&self) -> Wtf8Buf {
-        Wtf8Buf { bytes: self.bytes.to_ascii_lowercase() }
-    }
-    pub fn eq_ignore_ascii_case(&self, other: &Wtf8) -> bool {
-        self.bytes.eq_ignore_ascii_case(&other.bytes)
-    }
-
     pub fn make_ascii_uppercase(&mut self) { self.bytes.make_ascii_uppercase() }
-    pub fn make_ascii_lowercase(&mut self) { self.bytes.make_ascii_lowercase() }
 }
 
 #[cfg(test)]