about summary refs log tree commit diff
path: root/src/libcore/num/int_macros.rs
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2017-01-29 13:31:47 +0000
committerOliver Middleton <olliemail27@gmail.com>2017-01-29 13:31:47 +0000
commit9128f6100c9bfe2c2c22d85ccec92f01166f5d25 (patch)
tree105ea91f8eee10021f4484f281b1cc1409dcd65e /src/libcore/num/int_macros.rs
parent010c3e25c453d0217b114aa125a956cd99f60c88 (diff)
downloadrust-9128f6100c9bfe2c2c22d85ccec92f01166f5d25.tar.gz
rust-9128f6100c9bfe2c2c22d85ccec92f01166f5d25.zip
Fix a few impl stability attributes
The versions show up in rustdoc.
Diffstat (limited to 'src/libcore/num/int_macros.rs')
-rw-r--r--src/libcore/num/int_macros.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/num/int_macros.rs b/src/libcore/num/int_macros.rs
index 04311d687ea..3b1612a4ee2 100644
--- a/src/libcore/num/int_macros.rs
+++ b/src/libcore/num/int_macros.rs
@@ -12,12 +12,12 @@
 
 macro_rules! int_module {
     ($T:ident) => (int_module!($T, #[stable(feature = "rust1", since = "1.0.0")]););
-    ($T:ident, $($attr: tt)*) => (
+    ($T:ident, #[$attr:meta]) => (
         /// The smallest value that can be represented by this integer type.
-        $($attr)*
+        #[$attr]
         pub const MIN: $T = $T::min_value();
         /// The largest value that can be represented by this integer type.
-        $($attr)*
+        #[$attr]
         pub const MAX: $T = $T::max_value();
     )
 }