From 3058cb941cd8d81c01b74e4b28b4f4ca606fb20b Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Sat, 4 Jun 2022 19:12:32 +0200 Subject: [PATCH] Update clippy_lints/src/needless_braces_on_range_literal.rs Co-authored-by: Alex <69764315+Serial-ATA@users.noreply.github.com> --- clippy_lints/src/needless_braces_on_range_literal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/needless_braces_on_range_literal.rs b/clippy_lints/src/needless_braces_on_range_literal.rs index 031008c50..b351dfe20 100644 --- a/clippy_lints/src/needless_braces_on_range_literal.rs +++ b/clippy_lints/src/needless_braces_on_range_literal.rs @@ -8,7 +8,7 @@ //! } //! ``` //! -//! And suggest this: +//! Use instead: //! //! ```rust //! for i in 0..10 {