We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cd8d86 commit 02237ffCopy full SHA for 02237ff
clippy_lints/src/default_box_assignments.rs
@@ -31,7 +31,7 @@ declare_clippy_lint! {
31
#[clippy::version = "1.89.0"]
32
pub DEFAULT_BOX_ASSIGNMENTS,
33
perf,
34
- "assigning `Default::default()` to `Box<T>` is inefficient"
+ "assigning a newly created box to `Box<T>` is inefficient"
35
}
36
declare_lint_pass!(DefaultBoxAssignments => [DEFAULT_BOX_ASSIGNMENTS]);
37
0 commit comments