Fix breakage

This commit is contained in:
Brian Anderson 2012-08-29 16:56:04 -07:00
parent c0c8d3aa8f
commit d8b34b2af8
2 changed files with 3 additions and 3 deletions

View File

@ -251,10 +251,10 @@ fn check_variants_T<T: copy>(
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

View File

@ -56,7 +56,7 @@ fn unindent(s: ~str) -> ~str {
false
}
};
uint::min(min_indent, spaces)
uint::min(&min_indent, &spaces)
}
};