From 536e7c8f381aa26ab39cd3f4df858876f2bf0026 Mon Sep 17 00:00:00 2001 From: Alex Vermillion Date: Tue, 26 Jun 2018 20:22:36 -0500 Subject: [PATCH] Removed placeholder doc-comments There were comments instructing someone to insert an example, but an example was already present --- clippy_lints/src/excessive_precision.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/clippy_lints/src/excessive_precision.rs b/clippy_lints/src/excessive_precision.rs index c33a3b50185f..aa648003c0cc 100644 --- a/clippy_lints/src/excessive_precision.rs +++ b/clippy_lints/src/excessive_precision.rs @@ -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 /// ```