File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -676,8 +676,6 @@ impl f32 {
676
676
/// Converts radians to degrees.
677
677
///
678
678
/// ```
679
- /// #![feature(float_extras)]
680
- ///
681
679
/// use std::f32::{self, consts};
682
680
///
683
681
/// let angle = consts::PI;
@@ -686,16 +684,13 @@ impl f32 {
686
684
///
687
685
/// assert!(abs_difference <= f32::EPSILON);
688
686
/// ```
689
- #[ unstable( feature = "float_extras" , reason = "desirability is unclear" ,
690
- issue = "27752" ) ]
687
+ #[ stable( feature = "f32_deg_rad_conversions" , since="1.7.0" ) ]
691
688
#[ inline]
692
689
pub fn to_degrees ( self ) -> f32 { num:: Float :: to_degrees ( self ) }
693
690
694
691
/// Converts degrees to radians.
695
692
///
696
693
/// ```
697
- /// #![feature(float_extras)]
698
- ///
699
694
/// use std::f32::{self, consts};
700
695
///
701
696
/// let angle = 180.0f32;
@@ -704,8 +699,7 @@ impl f32 {
704
699
///
705
700
/// assert!(abs_difference <= f32::EPSILON);
706
701
/// ```
707
- #[ unstable( feature = "float_extras" , reason = "desirability is unclear" ,
708
- issue = "27752" ) ]
702
+ #[ stable( feature = "f32_deg_rad_conversions" , since="1.7.0" ) ]
709
703
#[ inline]
710
704
pub fn to_radians ( self ) -> f32 { num:: Float :: to_radians ( self ) }
711
705
You can’t perform that action at this time.
0 commit comments