auto merge of #16356 : ruud-v-a/rust/fix-f32-doc, r=steveklabnik

On a side note (but maybe this is not the right place to ask), the name `Float::two_pi` is inconsistent with `f32::consts::PI_2`.
This commit is contained in:
bors 2014-08-09 21:41:19 +00:00
commit 4136d5f44d

View file

@ -293,7 +293,7 @@ impl Float for f32 {
#[inline]
fn frac_pi_8() -> f32 { consts::FRAC_PI_8 }
/// 1 .0/ pi
/// 1.0 / pi
#[inline]
fn frac_1_pi() -> f32 { consts::FRAC_1_PI }