@@ -4,7 +4,7 @@ error: boxed return of the sized type `usize`
44LL | fn baz(&self) -> Box<usize>;
55 | ^^^^^^^^^^ help: try: `usize`
66 |
7- = help: Changing this also requires a change to the return expressions in this function
7+ = help: changing this also requires a change to the return expressions in this function
88 = note: `-D clippy::unnecessary-box-returns` implied by `-D warnings`
99
1010error: boxed return of the sized type `usize`
@@ -13,23 +13,23 @@ error: boxed return of the sized type `usize`
1313LL | fn baz(&self) -> Box<usize> {
1414 | ^^^^^^^^^^ help: try: `usize`
1515 |
16- = help: Changing this also requires a change to the return expressions in this function
16+ = help: changing this also requires a change to the return expressions in this function
1717
1818error: boxed return of the sized type `usize`
1919 --> $DIR/unnecessary_box_returns.rs:24:21
2020 |
2121LL | fn boxed_usize() -> Box<usize> {
2222 | ^^^^^^^^^^ help: try: `usize`
2323 |
24- = help: Changing this also requires a change to the return expressions in this function
24+ = help: changing this also requires a change to the return expressions in this function
2525
2626error: boxed return of the sized type `Foo`
2727 --> $DIR/unnecessary_box_returns.rs:29:20
2828 |
2929LL | fn _boxed_foo() -> Box<Foo> {
3030 | ^^^^^^^^ help: try: `Foo`
3131 |
32- = help: Changing this also requires a change to the return expressions in this function
32+ = help: changing this also requires a change to the return expressions in this function
3333
3434error: aborting due to 4 previous errors
3535
0 commit comments