diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-10-27 15:37:07 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-10-28 08:54:21 -0700 |
| commit | e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5 (patch) | |
| tree | 8d1fcc64b2219b49b255f92f1d2c4087200d8930 /src/libcore/tuple | |
| parent | 58dc0a05abb98ae2db65ca20e70f3bab51f8bf92 (diff) | |
| download | rust-e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5.tar.gz rust-e0ad0fcb95f0bd6e69e9032c23b66515a590dfe5.zip | |
Update code with new lint names
Diffstat (limited to 'src/libcore/tuple')
| -rw-r--r-- | src/libcore/tuple/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/tuple/mod.rs b/src/libcore/tuple/mod.rs index ead35647180..56ea7a4e7a1 100644 --- a/src/libcore/tuple/mod.rs +++ b/src/libcore/tuple/mod.rs @@ -81,7 +81,7 @@ macro_rules! tuple_impls { } )+) => { $( - #[allow(missing_doc)] + #[allow(missing_docs)] #[stable] pub trait $Tuple<$($T),+> { $( @@ -97,21 +97,21 @@ macro_rules! tuple_impls { impl<$($T),+> $Tuple<$($T),+> for ($($T,)+) { $( #[inline] - #[allow(unused_variable)] + #[allow(unused_variables)] #[unstable = "may rename pending accessor naming conventions"] fn $valN(self) -> $T { let ($($x,)+) = self; $ret } #[inline] - #[allow(unused_variable)] + #[allow(unused_variables)] #[unstable = "may rename pending accessor naming conventions"] fn $refN<'a>(&'a self) -> &'a $T { let ($(ref $x,)+) = *self; $ret } #[inline] - #[allow(unused_variable)] + #[allow(unused_variables)] #[unstable = "may rename pending accessor naming conventions"] fn $mutN<'a>(&'a mut self) -> &'a mut $T { let ($(ref mut $x,)+) = *self; $ret |
