1
Fork 0

librustuv: Remove all non-proc uses of do from libextra and

`librustuv`.
This commit is contained in:
Patrick Walton 2013-11-20 15:46:49 -08:00
parent 1eca34de7d
commit a61a3678eb
33 changed files with 456 additions and 449 deletions

View file

@ -79,9 +79,7 @@ fn escape_str(s: &str) -> ~str {
fn spaces(n: uint) -> ~str {
let mut ss = ~"";
do n.times {
ss.push_str(" ");
}
n.times(|| ss.push_str(" "));
return ss;
}