Skip to content

Commit

Permalink
We missed 1.49.0, so bump version to 1.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe committed Nov 20, 2020
1 parent a7d3368 commit fb6ceac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/core/src/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ pub trait Ord: Eq + PartialOrd<Self> {
/// assert!(2.clamp(-2, 1) == 1);
/// ```
#[must_use]
#[stable(feature = "clamp", since = "1.49.0")]
#[stable(feature = "clamp", since = "1.50.0")]
fn clamp(self, min: Self, max: Self) -> Self
where
Self: Sized,
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ impl f32 {
/// assert!((f32::NAN).clamp(-2.0, 1.0).is_nan());
/// ```
#[must_use = "method returns a new number and does not mutate the original value"]
#[stable(feature = "clamp", since = "1.49.0")]
#[stable(feature = "clamp", since = "1.50.0")]
#[inline]
pub fn clamp(self, min: f32, max: f32) -> f32 {
assert!(min <= max);
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ impl f64 {
/// assert!((f64::NAN).clamp(-2.0, 1.0).is_nan());
/// ```
#[must_use = "method returns a new number and does not mutate the original value"]
#[stable(feature = "clamp", since = "1.49.0")]
#[stable(feature = "clamp", since = "1.50.0")]
#[inline]
pub fn clamp(self, min: f64, max: f64) -> f64 {
assert!(min <= max);
Expand Down

0 comments on commit fb6ceac

Please sign in to comment.