]> git.lizzy.rs Git - rust.git/commitdiff
Removed placeholder doc-comments
authorAlex Vermillion <AVerm@users.noreply.github.com>
Wed, 27 Jun 2018 01:22:36 +0000 (20:22 -0500)
committerGitHub <noreply@github.com>
Wed, 27 Jun 2018 01:22:36 +0000 (20:22 -0500)
There were comments instructing someone to insert an example, but an example was already present

clippy_lints/src/excessive_precision.rs

index c33a3b50185feb30f10d8193f423b1d55eac9ff6..aa648003c0cc4c6e6df8126a2f9c696d359eb549 100644 (file)
 ///
 /// ```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
 /// ```