]> git.lizzy.rs Git - rust.git/commitdiff
Fix links in approx_const
authorTuomas Siipola <siiptuo@kapsi.fi>
Tue, 12 Sep 2017 16:03:34 +0000 (19:03 +0300)
committerTuomas Siipola <siiptuo@kapsi.fi>
Tue, 12 Sep 2017 16:08:18 +0000 (19:08 +0300)
clippy_lints/src/approx_const.rs

index 9d5d87dc4b324d04e5848a72ea7c8fa948d49c40..ed65366d21f14a19c9e078a5322f39263957a652 100644 (file)
@@ -7,11 +7,9 @@
 
 /// **What it does:** Checks for floating point literals that approximate
 /// constants which are defined in
-/// [`std::f32::consts`](https://doc.rust-lang.
-/// org/stable/std/f32/consts/#constants)
+/// [`std::f32::consts`](https://doc.rust-lang.org/stable/std/f32/consts/#constants)
 /// or
-/// [`std::f64::consts`](https://doc.rust-lang.
-/// org/stable/std/f64/consts/#constants),
+/// [`std::f64::consts`](https://doc.rust-lang.org/stable/std/f64/consts/#constants),
 /// respectively, suggesting to use the predefined constant.
 ///
 /// **Why is this bad?** Usually, the definition in the standard library is more