diff options
| author | P1start <rewi-github@whanau.org> | 2014-09-13 13:55:37 +1200 |
|---|---|---|
| committer | P1start <rewi-github@whanau.org> | 2014-10-03 20:39:56 +1300 |
| commit | 94bcd3539c761b4ecf423800bce21057c4e961fa (patch) | |
| tree | 51c0030bfc0a527ce57da49f0987f726ea0ed912 /src/libstd/path | |
| parent | aa034cd3bac3155e0f6c74c399314b5ee32f88fc (diff) | |
| download | rust-94bcd3539c761b4ecf423800bce21057c4e961fa.tar.gz rust-94bcd3539c761b4ecf423800bce21057c4e961fa.zip | |
Set the `non_uppercase_statics` lint to warn by default
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)] |
