mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
Fix breakage
This commit is contained in:
parent
c0c8d3aa8f
commit
d8b34b2af8
@ -251,10 +251,10 @@ fn check_variants_T<T: copy>(
|
|||||||
let L = vec::len(things);
|
let L = vec::len(things);
|
||||||
|
|
||||||
if L < 100u {
|
if L < 100u {
|
||||||
do under(uint::min(L, 20u)) |i| {
|
do under(uint::min(&L, &20u)) |i| {
|
||||||
log(error, ~"Replacing... #" + uint::str(i));
|
log(error, ~"Replacing... #" + uint::str(i));
|
||||||
let fname = str::from_slice(filename.to_str());
|
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));
|
log(error, ~"With... " + stringifier(@things[j], intr));
|
||||||
let crate2 = @replacer(crate, i, things[j], cx.mode);
|
let crate2 = @replacer(crate, i, things[j], cx.mode);
|
||||||
// It would be best to test the *crate* for stability, but
|
// It would be best to test the *crate* for stability, but
|
||||||
|
@ -56,7 +56,7 @@ fn unindent(s: ~str) -> ~str {
|
|||||||
false
|
false
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
uint::min(min_indent, spaces)
|
uint::min(&min_indent, &spaces)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user