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:
commit
4136d5f44d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue