]> git.lizzy.rs Git - rust.git/commitdiff
Add tracing issue for total_cmp
authorPyry Kontio <pyry.kontio@drasa.eu>
Tue, 26 May 2020 02:59:23 +0000 (11:59 +0900)
committerPyry Kontio <pyry.kontio@drasa.eu>
Tue, 26 May 2020 02:59:23 +0000 (11:59 +0900)
src/libcore/num/f32.rs
src/libcore/num/f64.rs

index c54bfb27dfe5c9e734224ad2aca53547b577eb39..6313de31ce4d582dfc2f7b33e57216ed7d1f1070 100644 (file)
@@ -851,7 +851,7 @@ pub fn from_bits(v: u32) -> Self {
     /// #     .zip([-5.0, 0.1, 10.0, 99.0, f32::INFINITY, f32::NAN].iter())
     /// #     .all(|(a, b)| a.to_bits() == b.to_bits()))
     /// ```
-    #[unstable(feature = "total_cmp", issue = "none")]
+    #[unstable(feature = "total_cmp", issue = "72599")]
     #[inline]
     pub fn total_cmp(&self, other: &Self) -> crate::cmp::Ordering {
         let mut left = self.to_bits() as i32;
index 18d5d720a05444b8fc6bf84172f68e8232a48a9c..d42e5392c586347af9dd092d4033342b46349e3c 100644 (file)
@@ -865,7 +865,7 @@ pub fn from_bits(v: u64) -> Self {
     /// #     .zip([-5.0, 0.1, 10.0, 99.0, f64::INFINITY, f64::NAN].iter())
     /// #     .all(|(a, b)| a.to_bits() == b.to_bits()))
     /// ```
-    #[unstable(feature = "total_cmp", issue = "none")]
+    #[unstable(feature = "total_cmp", issue = "72599")]
     #[inline]
     pub fn total_cmp(&self, other: &Self) -> crate::cmp::Ordering {
         let mut left = self.to_bits() as i64;