Removed placeholder doc-comments

There were comments instructing someone to insert an example, but an example was already present
This commit is contained in:
Alex Vermillion 2018-06-26 20:22:36 -05:00 committed by GitHub
parent 73a80c5950
commit 536e7c8f38
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 /// ```rust
/// // Bad /// // Bad
/// Insert a short example of code that triggers the lint
/// let v: f32 = 0.123_456_789_9; /// let v: f32 = 0.123_456_789_9;
/// println!("{}", v); // 0.123_456_789 /// println!("{}", v); // 0.123_456_789
/// ///
/// // Good /// // Good
/// Insert a short example of improved code that doesn't trigger the lint
/// let v: f64 = 0.123_456_789_9; /// let v: f64 = 0.123_456_789_9;
/// println!("{}", v); // 0.123_456_789_9 /// println!("{}", v); // 0.123_456_789_9
/// ``` /// ```