Skip to content

Commit a61dc00

Browse files
See also rust-lang/rust#10622 - Removed unneccessary `_iter` suffixes from the various APIs
1 parent 3e91012 commit a61dc00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pcre/pkg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct Version {
3131

3232
impl Version {
3333
pub fn parse(version_str: &str) -> Option<Version> {
34-
let mut it = version_str.split_iter('.');
34+
let mut it = version_str.split('.');
3535
match (it.next().and_then(from_str::<uint>), it.next().and_then(from_str::<uint>)) {
3636
(Some(major), Some(minor)) => Some(Version { major: major, minor: minor }),
3737
_ => None
@@ -185,7 +185,7 @@ fn main () \\{
185185

186186
// The "no debug symbols in executable" warning may be present in the output.
187187
// 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');
189189
let version_str: ~str = match output_rsplit_iter.next() {
190190
None => output_str.clone(),
191191
Some(version_str) => version_str.to_owned()

0 commit comments

Comments
 (0)