libsyntax: rename functions from uint to usize
This commit is contained in:
parent
a32249d447
commit
d5c83652b3
30 changed files with 97 additions and 97 deletions
|
@ -1171,9 +1171,9 @@ mod test {
|
|||
for &src in srcs.iter() {
|
||||
let spans = get_spans_of_pat_idents(src);
|
||||
let Span{ lo, hi, .. } = spans[0];
|
||||
assert!("self" == &src[lo.to_uint()..hi.to_uint()],
|
||||
assert!("self" == &src[lo.to_usize()..hi.to_usize()],
|
||||
"\"{}\" != \"self\". src=\"{}\"",
|
||||
&src[lo.to_uint()..hi.to_uint()], src)
|
||||
&src[lo.to_usize()..hi.to_usize()], src)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue