Skip to content

Commit fb6ceac

Browse files
committed
We missed 1.49.0, so bump version to 1.50.0
1 parent a7d3368 commit fb6ceac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library/core/src/cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ pub trait Ord: Eq + PartialOrd<Self> {
636636
/// assert!(2.clamp(-2, 1) == 1);
637637
/// ```
638638
#[must_use]
639-
#[stable(feature = "clamp", since = "1.49.0")]
639+
#[stable(feature = "clamp", since = "1.50.0")]
640640
fn clamp(self, min: Self, max: Self) -> Self
641641
where
642642
Self: Sized,

library/std/src/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ impl f32 {
897897
/// assert!((f32::NAN).clamp(-2.0, 1.0).is_nan());
898898
/// ```
899899
#[must_use = "method returns a new number and does not mutate the original value"]
900-
#[stable(feature = "clamp", since = "1.49.0")]
900+
#[stable(feature = "clamp", since = "1.50.0")]
901901
#[inline]
902902
pub fn clamp(self, min: f32, max: f32) -> f32 {
903903
assert!(min <= max);

library/std/src/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ impl f64 {
899899
/// assert!((f64::NAN).clamp(-2.0, 1.0).is_nan());
900900
/// ```
901901
#[must_use = "method returns a new number and does not mutate the original value"]
902-
#[stable(feature = "clamp", since = "1.49.0")]
902+
#[stable(feature = "clamp", since = "1.50.0")]
903903
#[inline]
904904
pub fn clamp(self, min: f64, max: f64) -> f64 {
905905
assert!(min <= max);

0 commit comments

Comments
 (0)