File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ struct Version {
31
31
32
32
impl Version {
33
33
pub fn parse ( version_str : & str ) -> Option < Version > {
34
- let mut it = version_str. split_iter ( '.' ) ;
34
+ let mut it = version_str. split ( '.' ) ;
35
35
match ( it. next ( ) . and_then ( from_str :: < uint > ) , it. next ( ) . and_then ( from_str :: < uint > ) ) {
36
36
( Some ( major) , Some ( minor) ) => Some ( Version { major : major, minor : minor } ) ,
37
37
_ => None
@@ -185,7 +185,7 @@ fn main () \\{
185
185
186
186
// The "no debug symbols in executable" warning may be present in the output.
187
187
// https://github.com/mozilla/rust/issues/3495
188
- let mut output_rsplit_iter = output_str. rsplit_iter ( '\n' ) ;
188
+ let mut output_rsplit_iter = output_str. rsplit ( '\n' ) ;
189
189
let version_str: ~str = match output_rsplit_iter. next ( ) {
190
190
None => output_str. clone ( ) ,
191
191
Some ( version_str) => version_str. to_owned ( )
You can’t perform that action at this time.
0 commit comments