1
Fork 0

Handle more fallout

os::args() no longer auto-borrows to &[~str].
This commit is contained in:
Kevin Ballard 2014-05-04 13:20:47 -07:00
parent fa82ef23b8
commit 752048a271
17 changed files with 24 additions and 11 deletions

View file

@ -380,7 +380,7 @@ impl fmt::Show for clean::Type {
"".to_owned()
} else {
let mut m = decl.bounds.iter().map(|s| s.to_str());
": " + m.collect::<~[~str]>().connect(" + ")
": " + m.collect::<Vec<~str>>().connect(" + ")
},
arrow = match decl.decl.output { clean::Unit => "no", _ => "yes" },
ret = decl.decl.output)