diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2017-01-29 13:31:47 +0000 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2017-01-29 13:31:47 +0000 |
| commit | 9128f6100c9bfe2c2c22d85ccec92f01166f5d25 (patch) | |
| tree | 105ea91f8eee10021f4484f281b1cc1409dcd65e /src/libcore/num/int_macros.rs | |
| parent | 010c3e25c453d0217b114aa125a956cd99f60c88 (diff) | |
| download | rust-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.rs | 6 |
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(); ) } |
