librustuv: Remove all non-proc
uses of do
from libextra
and
`librustuv`.
This commit is contained in:
parent
1eca34de7d
commit
a61a3678eb
33 changed files with 456 additions and 449 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue