diff options
Diffstat (limited to 'src/libstd/old_path/posix.rs')
| -rw-r--r-- | src/libstd/old_path/posix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/old_path/posix.rs b/src/libstd/old_path/posix.rs index 440d17cfd50..0a184a01a1d 100644 --- a/src/libstd/old_path/posix.rs +++ b/src/libstd/old_path/posix.rs @@ -409,7 +409,7 @@ fn normalize_helper<'a>(v: &'a [u8], is_abs: bool) -> Option<Vec<&'a [u8]>> { return None; } let mut comps: Vec<&'a [u8]> = vec![]; - let mut n_up = 0u; + let mut n_up = 0; let mut changed = false; for comp in v.split(is_sep_byte) { if comp.is_empty() { changed = true } |
