about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-09 21:41:19 +0000
committerbors <bors@rust-lang.org>2014-08-09 21:41:19 +0000
commit4136d5f44d739391a60f8e51429dd30f2d96aae8 (patch)
tree8b0fc2d7fde442841fc590207a40fe030f8ce423
parente55e27db1e92b682a2ce64f695c5d3241db80989 (diff)
parentc56fa5f266bdef2a5dcd8edccd7d73f3add083d9 (diff)
downloadrust-4136d5f44d739391a60f8e51429dd30f2d96aae8.tar.gz
rust-4136d5f44d739391a60f8e51429dd30f2d96aae8.zip
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`.
-rw-r--r--src/libcore/num/f32.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs
index d4cf10b384f..bcea4bd8d3c 100644
--- a/src/libcore/num/f32.rs
+++ b/src/libcore/num/f32.rs
@@ -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 }