Эх сурвалжийг харах

Rename StrAsciiExt and OwnedStrAsciiExt usages

Joshua DeSeno 12 жил өмнө
parent
commit
97ce85d9de
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      src/host.rs
  2. 1 1
      src/parser.rs

+ 1 - 1
src/host.rs

@@ -6,7 +6,7 @@
 // option. This file may not be copied, modified, or distributed
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 // except according to those terms.
 
 
-use std::ascii::OwnedStrAsciiExt;
+use std::ascii::OwnedAsciiExt;
 use std::cmp;
 use std::cmp;
 use std::fmt::{Formatter, FormatError, Show};
 use std::fmt::{Formatter, FormatError, Show};
 use parser::{
 use parser::{

+ 1 - 1
src/parser.rs

@@ -7,7 +7,7 @@
 // except according to those terms.
 // except according to those terms.
 
 
 
 
-use std::ascii::StrAsciiExt;
+use std::ascii::AsciiExt;
 use std::fmt::{Formatter, FormatError, Show};
 use std::fmt::{Formatter, FormatError, Show};
 use std::str::CharRange;
 use std::str::CharRange;