mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 00:47:16 +00:00
Removed placeholder doc-comments
There were comments instructing someone to insert an example, but an example was already present
This commit is contained in:
parent
73a80c5950
commit
536e7c8f38
1 changed files with 0 additions and 2 deletions
|
@ -19,12 +19,10 @@ use crate::utils::span_lint_and_sugg;
|
|||
///
|
||||
/// ```rust
|
||||
/// // Bad
|
||||
/// Insert a short example of code that triggers the lint
|
||||
/// let v: f32 = 0.123_456_789_9;
|
||||
/// println!("{}", v); // 0.123_456_789
|
||||
///
|
||||
/// // Good
|
||||
/// Insert a short example of improved code that doesn't trigger the lint
|
||||
/// let v: f64 = 0.123_456_789_9;
|
||||
/// println!("{}", v); // 0.123_456_789_9
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue