Replace occurrences of `uint` with `usize`

pull/14/head
portal 8 years ago committed by GitHub
parent 1524ea4d5f
commit 9cc14cd6a4

@ -42,11 +42,11 @@ Examples:
fn print(s: &str); // elided fn print(s: &str); // elided
fn print<'a>(s: &'a str); // expanded fn print<'a>(s: &'a str); // expanded
fn debug(lvl: uint, s: &str); // elided fn debug(lvl: usize, s: &str); // elided
fn debug<'a>(lvl: uint, s: &'a str); // expanded fn debug<'a>(lvl: usize, s: &'a str); // expanded
fn substr(s: &str, until: uint) -> &str; // elided fn substr(s: &str, until: usize) -> &str; // elided
fn substr<'a>(s: &'a str, until: uint) -> &'a str; // expanded fn substr<'a>(s: &'a str, until: usize) -> &'a str; // expanded
fn get_str() -> &str; // ILLEGAL fn get_str() -> &str; // ILLEGAL

Loading…
Cancel
Save