Skip to content

Commit

Permalink
Fix links in approx_const
Browse files Browse the repository at this point in the history
  • Loading branch information
siiptuo committed Sep 12, 2017
1 parent b7222be commit 2b698db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions clippy_lints/src/approx_const.rs
Expand Up @@ -7,11 +7,9 @@ use utils::span_lint;

/// **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
Expand Down

0 comments on commit 2b698db

Please sign in to comment.