diff options
Diffstat (limited to 'src/rustdoc')
| -rw-r--r-- | src/rustdoc/unindent_pass.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rustdoc/unindent_pass.rs b/src/rustdoc/unindent_pass.rs index 644f298cf33..31d1584e760 100644 --- a/src/rustdoc/unindent_pass.rs +++ b/src/rustdoc/unindent_pass.rs @@ -45,18 +45,18 @@ fn unindent(s: ~str) -> ~str { min_indent } else { saw_first_line = true; - let mut spaces = 0u; + let mut spaces = 0; do str::all(line) |char| { // Only comparing against space because I wouldn't // know what to do with mixed whitespace chars if char == ' ' { - spaces += 1u; + spaces += 1; true } else { false } }; - uint::min(&min_indent, &spaces) + uint::min(min_indent, spaces) } }; |
