Merge pull request #2876 from AVerm/patch-1

Removed placeholder doc-comments
This commit is contained in:
Oliver Schneider 2018-06-27 10:02:14 +02:00 committed by GitHub
commit 296b15e908
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
/// ```