Skip to content

Commit 536e7c8

Browse files
authored
Removed placeholder doc-comments
There were comments instructing someone to insert an example, but an example was already present
1 parent 73a80c5 commit 536e7c8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/excessive_precision.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ use crate::utils::span_lint_and_sugg;
1919
///
2020
/// ```rust
2121
/// // Bad
22-
/// Insert a short example of code that triggers the lint
2322
/// let v: f32 = 0.123_456_789_9;
2423
/// println!("{}", v); // 0.123_456_789
2524
///
2625
/// // Good
27-
/// Insert a short example of improved code that doesn't trigger the lint
2826
/// let v: f64 = 0.123_456_789_9;
2927
/// println!("{}", v); // 0.123_456_789_9
3028
/// ```

0 commit comments

Comments
 (0)