libsyntax: rename functions from uint to usize

This commit is contained in:
Paul Collier 2015-01-17 23:49:08 +00:00
parent a32249d447
commit d5c83652b3
30 changed files with 97 additions and 97 deletions

View file

@ -95,7 +95,7 @@ impl Ident {
pub fn encode_with_hygiene(&self) -> String {
format!("\x00name_{},ctxt_{}\x00",
self.name.uint(),
self.name.usize(),
self.ctxt)
}
}
@ -181,7 +181,7 @@ impl Name {
}
}
pub fn uint(&self) -> usize {
pub fn usize(&self) -> usize {
let Name(nm) = *self;
nm as usize
}