mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove uint/int inside components/util
(partial #4745).
This leaves range.rs alone.
This commit is contained in:
parent
55f7636549
commit
aaf7a7e439
11 changed files with 69 additions and 69 deletions
|
@ -241,7 +241,7 @@ macro_rules! option_try(
|
|||
);
|
||||
|
||||
#[cfg(target_os="linux")]
|
||||
fn get_proc_self_statm_field(field: uint) -> Option<u64> {
|
||||
fn get_proc_self_statm_field(field: usize) -> Option<u64> {
|
||||
let mut f = File::open(&Path::new("/proc/self/statm"));
|
||||
match f.read_to_string() {
|
||||
Ok(contents) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue