about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Kiesel <jacob.kiesel@vivint.com>2020-11-20 10:37:22 -0700
committerJacob Kiesel <jacob.kiesel@vivint.com>2020-11-20 10:37:22 -0700
commitfb6ceac46b0b3ecd8220dee17a257e2655f6a66a (patch)
tree407dcc704a789357e7e45ece3efe92a2379af63c
parenta7d33684481ac114802bc57c44a2acb10c361ccb (diff)
downloadrust-fb6ceac46b0b3ecd8220dee17a257e2655f6a66a.tar.gz
rust-fb6ceac46b0b3ecd8220dee17a257e2655f6a66a.zip
We missed 1.49.0, so bump version to 1.50.0
-rw-r--r--library/core/src/cmp.rs2
-rw-r--r--library/std/src/f32.rs2
-rw-r--r--library/std/src/f64.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs
index f2ebe0c41c3..c181de44eca 100644
--- a/library/core/src/cmp.rs
+++ b/library/core/src/cmp.rs
@@ -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,
diff --git a/library/std/src/f32.rs b/library/std/src/f32.rs
index 63afc7ad089..0d4ea527a7b 100644
--- a/library/std/src/f32.rs
+++ b/library/std/src/f32.rs
@@ -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);
diff --git a/library/std/src/f64.rs b/library/std/src/f64.rs
index bb2a6c87f50..aa143dd4a9b 100644
--- a/library/std/src/f64.rs
+++ b/library/std/src/f64.rs
@@ -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);