]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/num/f32.rs
std: Stabilize/deprecate features for 1.4
[rust.git] / src / libstd / num / f32.rs
index 62f6cfcb36fb7bc10e52b45a08bf23205cd4db07..a04dfbeebe8e6b18704e3d2b88d4057a4381ef05 100644 (file)
@@ -125,6 +125,8 @@ impl f32 {
     /// Parses a float as with a given radix
     #[unstable(feature = "float_from_str_radix", reason = "recently moved API",
                issue = "27736")]
+    #[deprecated(since = "1.4.0",
+                 reason = "unclear how useful or correct this is")]
     pub fn from_str_radix(s: &str, radix: u32) -> Result<f32, ParseFloatError> {
         num::Float::from_str_radix(s, radix)
     }