We missed 1.49.0, so bump version to 1.50.0
This commit is contained in:
parent
a7d3368448
commit
fb6ceac46b
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue