@@ -4,7 +4,7 @@ error: boxed return of the sized type `usize`
4
4
LL | fn baz(&self) -> Box<usize>;
5
5
| ^^^^^^^^^^ help: try: `usize`
6
6
|
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
8
8
= note: `-D clippy::unnecessary-box-returns` implied by `-D warnings`
9
9
10
10
error: boxed return of the sized type `usize`
@@ -13,23 +13,23 @@ error: boxed return of the sized type `usize`
13
13
LL | fn baz(&self) -> Box<usize> {
14
14
| ^^^^^^^^^^ help: try: `usize`
15
15
|
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
17
17
18
18
error: boxed return of the sized type `usize`
19
19
--> $DIR/unnecessary_box_returns.rs:24:21
20
20
|
21
21
LL | fn boxed_usize() -> Box<usize> {
22
22
| ^^^^^^^^^^ help: try: `usize`
23
23
|
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
25
25
26
26
error: boxed return of the sized type `Foo`
27
27
--> $DIR/unnecessary_box_returns.rs:29:20
28
28
|
29
29
LL | fn _boxed_foo() -> Box<Foo> {
30
30
| ^^^^^^^^ help: try: `Foo`
31
31
|
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
33
33
34
34
error: aborting due to 4 previous errors
35
35
0 commit comments