Skip to content

Commit

Permalink
Auto merge of rust-lang#4027 - kraai:remove-approx_constant-known-pro…
Browse files Browse the repository at this point in the history
…blems, r=phansch

Remove approx_constant known problems

Fixes rust-lang#4025.

changelog: Remove `approx_constant`'s documentation's "Known problems" section.
  • Loading branch information
bors committed Apr 24, 2019
2 parents 111cf2a + 5c7349d commit 46af9c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions clippy_lints/src/approx_const.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ declare_clippy_lint! {
/// actually more precise, please [file a Rust
/// issue](https://github.com/rust-lang/rust/issues).
///
/// **Known problems:** If you happen to have a value that is within 1/8192 of a
/// known constant, but is not *and should not* be the same, this lint will
/// report your value anyway. We have not yet noticed any false positives in
/// code we tested clippy with (this includes servo), but YMMV.
/// **Known problems:** None.
///
/// **Example:**
/// ```rust
Expand Down

0 comments on commit 46af9c8

Please sign in to comment.