diff --git a/src/fuzzer/fuzzer.rs b/src/fuzzer/fuzzer.rs index eb9fb2df297..8eed6fb11da 100644 --- a/src/fuzzer/fuzzer.rs +++ b/src/fuzzer/fuzzer.rs @@ -251,10 +251,10 @@ fn check_variants_T( let L = vec::len(things); if L < 100u { - do under(uint::min(L, 20u)) |i| { + do under(uint::min(&L, &20u)) |i| { log(error, ~"Replacing... #" + uint::str(i)); let fname = str::from_slice(filename.to_str()); - do under(uint::min(L, 30u)) |j| { + do under(uint::min(&L, &30u)) |j| { log(error, ~"With... " + stringifier(@things[j], intr)); let crate2 = @replacer(crate, i, things[j], cx.mode); // It would be best to test the *crate* for stability, but diff --git a/src/rustdoc/unindent_pass.rs b/src/rustdoc/unindent_pass.rs index 9c62c936d1b..644f298cf33 100644 --- a/src/rustdoc/unindent_pass.rs +++ b/src/rustdoc/unindent_pass.rs @@ -56,7 +56,7 @@ fn unindent(s: ~str) -> ~str { false } }; - uint::min(min_indent, spaces) + uint::min(&min_indent, &spaces) } };