File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -875,24 +875,6 @@ impl Hash for Wtf8 {
875
875
}
876
876
}
877
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
878
#[ cfg( test) ]
897
879
mod tests {
898
880
use borrow:: Cow ;
You can’t perform that action at this time.
0 commit comments