Skip to content

Commit 32cfeef

Browse files
committed
up to 42 on num/mod
1 parent 5a5c904 commit 32cfeef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/libcore/num/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ Basic usage:
255255
", $Feature, "assert_eq!(", stringify!($SelfT), "::MIN, ", stringify!($Min), ");",
256256
$EndFeature, "
257257
```"),
258-
#[stable(feature = "assoc_int_consts", since = "1.41.0")]
258+
#[stable(feature = "assoc_int_consts", since = "1.42.0")]
259259
pub const MIN: Self = !0 ^ ((!0 as $UnsignedT) >> 1) as Self;
260260
}
261261

@@ -270,14 +270,14 @@ Basic usage:
270270
", $Feature, "assert_eq!(", stringify!($SelfT), "::MAX, ", stringify!($Max), ");",
271271
$EndFeature, "
272272
```"),
273-
#[stable(feature = "assoc_int_consts", since = "1.41.0")]
273+
#[stable(feature = "assoc_int_consts", since = "1.42.0")]
274274
pub const MAX: Self = !Self::MIN;
275275
}
276276

277277
doc_comment! {
278278
"Returns the smallest value that can be represented by this integer type.",
279279
#[stable(feature = "rust1", since = "1.0.0")]
280-
#[rustc_deprecated(since = "1.41.0", reason = "replaced by associated constant MIN")]
280+
#[rustc_deprecated(since = "1.42.0", reason = "replaced by associated constant MIN")]
281281
#[inline(always)]
282282
#[rustc_promotable]
283283
#[rustc_const_stable(feature = "const_min_value", since = "1.32.0")]
@@ -289,7 +289,7 @@ $EndFeature, "
289289
doc_comment! {
290290
"Returns the largest value that can be represented by this integer type.",
291291
#[stable(feature = "rust1", since = "1.0.0")]
292-
#[rustc_deprecated(since = "1.41.0", reason = "replaced by associated constant MAX")]
292+
#[rustc_deprecated(since = "1.42.0", reason = "replaced by associated constant MAX")]
293293
#[inline(always)]
294294
#[rustc_promotable]
295295
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]
@@ -2362,7 +2362,7 @@ Basic usage:
23622362
```
23632363
", $Feature, "assert_eq!(", stringify!($SelfT), "::MIN, 0);", $EndFeature, "
23642364
```"),
2365-
#[stable(feature = "assoc_int_consts", since = "1.41.0")]
2365+
#[stable(feature = "assoc_int_consts", since = "1.42.0")]
23662366
pub const MIN: Self = 0;
23672367
}
23682368

@@ -2377,14 +2377,14 @@ Basic usage:
23772377
", $Feature, "assert_eq!(", stringify!($SelfT), "::MAX, ", stringify!($MaxV), ");",
23782378
$EndFeature, "
23792379
```"),
2380-
#[stable(feature = "assoc_int_consts", since = "1.41.0")]
2380+
#[stable(feature = "assoc_int_consts", since = "1.42.0")]
23812381
pub const MAX: Self = !0;
23822382
}
23832383

23842384
doc_comment! {
23852385
"Returns the smallest value that can be represented by this integer type.",
23862386
#[stable(feature = "rust1", since = "1.0.0")]
2387-
#[rustc_deprecated(since = "1.41.0", reason = "replaced by associated constant MIN")]
2387+
#[rustc_deprecated(since = "1.42.0", reason = "replaced by associated constant MIN")]
23882388
#[rustc_promotable]
23892389
#[inline(always)]
23902390
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]
@@ -2394,7 +2394,7 @@ $EndFeature, "
23942394
doc_comment! {
23952395
"Returns the largest value that can be represented by this integer type.",
23962396
#[stable(feature = "rust1", since = "1.0.0")]
2397-
#[rustc_deprecated(since = "1.41.0", reason = "replaced by associated constant MAX")]
2397+
#[rustc_deprecated(since = "1.42.0", reason = "replaced by associated constant MAX")]
23982398
#[rustc_promotable]
23992399
#[inline(always)]
24002400
#[rustc_const_stable(feature = "const_max_value", since = "1.32.0")]

0 commit comments

Comments
 (0)