diff options
Diffstat (limited to 'src/libstd/path')
| -rw-r--r-- | src/libstd/path/posix.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs index 9c4139853c5..805db000686 100644 --- a/src/libstd/path/posix.rs +++ b/src/libstd/path/posix.rs @@ -457,7 +457,9 @@ fn normalize_helper<'a>(v: &'a [u8], is_abs: bool) -> Option<Vec<&'a [u8]>> { } } +#[allow(non_uppercase_statics)] static dot_static: &'static [u8] = b"."; +#[allow(non_uppercase_statics)] static dot_dot_static: &'static [u8] = b".."; #[cfg(test)] |
