mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 07:00:55 +00:00
Merge pull request #2876 from AVerm/patch-1
Removed placeholder doc-comments
This commit is contained in:
commit
296b15e908
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