Kaynağa Gözat

Merge pull request #41 from jdeseno/master

Rename StrAsciiExt and OwnedStrAsciiExt usages
Simon Sapin 12 yıl önce
ebeveyn
işleme
7f1991d847
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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
 // except according to those terms.
 
-use std::ascii::OwnedStrAsciiExt;
+use std::ascii::OwnedAsciiExt;
 use std::cmp;
 use std::fmt::{Formatter, FormatError, Show};
 use parser::{

+ 1 - 1
src/parser.rs

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