Skip to content

Commit 02237ff

Browse files
committed
Update description for lint
1 parent 7cd8d86 commit 02237ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/default_box_assignments.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare_clippy_lint! {
3131
#[clippy::version = "1.89.0"]
3232
pub DEFAULT_BOX_ASSIGNMENTS,
3333
perf,
34-
"assigning `Default::default()` to `Box<T>` is inefficient"
34+
"assigning a newly created box to `Box<T>` is inefficient"
3535
}
3636
declare_lint_pass!(DefaultBoxAssignments => [DEFAULT_BOX_ASSIGNMENTS]);
3737

0 commit comments

Comments
 (0)