std: Rename Iterator.transform -> .map

cc #5898
This commit is contained in:
Erick Tryzelaar 2013-08-09 20:09:47 -07:00
parent 4062b84f4a
commit 68f40d215e
72 changed files with 188 additions and 189 deletions

View file

@ -158,7 +158,7 @@ impl<'self> PkgScript<'self> {
let output = run::process_output(exe.to_str(), [root.to_str(), ~"configs"]);
// Run the configs() function to get the configs
let cfgs = str::from_bytes_slice(output.output).word_iter()
.transform(|w| w.to_owned()).collect();
.map(|w| w.to_owned()).collect();
(cfgs, output.status)
}
}