From a568a7f9f2eb3fa3f3e049df288ef0ad32cc7881 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 17 Apr 2015 23:45:55 -0700 Subject: std: Bring back f32::from_str_radix as an unstable API This API was exercised in a few tests and mirrors the `from_str_radix` functionality of the integer types. --- src/libstd/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd/lib.rs') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index f7d15f9695c..96665259a4d 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -129,6 +129,7 @@ #![feature(slice_patterns)] #![feature(debug_builders)] #![feature(zero_one)] +#![cfg_attr(test, feature(float_from_str_radix))] #![cfg_attr(test, feature(test, rustc_private, std_misc))] // Don't link to std. We are std. -- cgit 1.4.1-3-g733a5