about summary refs log tree commit diff
path: root/src/libcore/tuple
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-27 15:37:07 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-28 08:54:21 -0700
commite0ad0fcb95f0bd6e69e9032c23b66515a590dfe5 (patch)
tree8d1fcc64b2219b49b255f92f1d2c4087200d8930 /src/libcore/tuple
parent58dc0a05abb98ae2db65ca20e70f3bab51f8bf92 (diff)
downloadrust-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.rs8
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