We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7222be commit 2b698dbCopy full SHA for 2b698db
clippy_lints/src/approx_const.rs
@@ -7,11 +7,9 @@ use utils::span_lint;
7
8
/// **What it does:** Checks for floating point literals that approximate
9
/// constants which are defined in
10
-/// [`std::f32::consts`](https://doc.rust-lang.
11
-/// org/stable/std/f32/consts/#constants)
+/// [`std::f32::consts`](https://doc.rust-lang.org/stable/std/f32/consts/#constants)
12
/// or
13
-/// [`std::f64::consts`](https://doc.rust-lang.
14
-/// org/stable/std/f64/consts/#constants),
+/// [`std::f64::consts`](https://doc.rust-lang.org/stable/std/f64/consts/#constants),
15
/// respectively, suggesting to use the predefined constant.
16
///
17
/// **Why is this bad?** Usually, the definition in the standard library is more
0 commit comments