about summary refs log tree commit diff
path: root/clippy_lints/src/format_push_string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clippy_lints/src/format_push_string.rs')
-rw-r--r--clippy_lints/src/format_push_string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/format_push_string.rs b/clippy_lints/src/format_push_string.rs
index 2b3923ab468..68cc50f3939 100644
--- a/clippy_lints/src/format_push_string.rs
+++ b/clippy_lints/src/format_push_string.rs
@@ -11,7 +11,7 @@ declare_clippy_lint! {
     /// Detects cases where the result of a `format!` call is
     /// appended to an existing `String`.
     ///
-    /// ### Why restrict this?
+    /// ### Why is this bad?
     /// Introduces an extra, avoidable heap allocation.
     ///
     /// ### Known problems