error: This else block is redundant.
- --> $DIR/copies.rs:121:20
+ --> $DIR/copies.rs:120:20
|
-121 | } else {
+120 | } else {
| ____________________^
-122 | | continue;
-123 | | }
+121 | | continue;
+122 | | }
| |_____________^
|
= note: `-D needless-continue` implied by `-D warnings`
error: This else block is redundant.
- --> $DIR/copies.rs:131:20
+ --> $DIR/copies.rs:130:20
|
-131 | } else {
+130 | } else {
| ____________________^
-132 | | continue;
-133 | | }
+131 | | continue;
+132 | | }
| |_____________^
|
= help: Consider dropping the else clause and merging the code that follows (in the loop) with the if block, like so:
}
-error: aborting due to 2 previous errors
-