Skip to content

fix(clippy): redundant_else

35f3975
Select commit
Loading
Failed to load commit list.
Merged

Prepare for clippy pedantic rules #8201

fix(clippy): redundant_else
35f3975
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 17, 2025 in 0s

71.42% of diff hit (target 86.71%)

View this Pull Request on Codecov

71.42% of diff hit (target 86.71%)

Annotations

Check warning on line 2197 in src/uu/cp/src/cp.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/cp/src/cp.rs#L2197

Added line #L2197 was not covered by tests

Check warning on line 2208 in src/uu/cp/src/cp.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/cp/src/cp.rs#L2201-L2208

Added lines #L2201 - L2208 were not covered by tests

Check warning on line 2210 in src/uu/cp/src/cp.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/cp/src/cp.rs#L2210

Added line #L2210 was not covered by tests

Check warning on line 38 in src/uu/cut/src/matcher.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/cut/src/matcher.rs#L38

Added line #L38 was not covered by tests

Check warning on line 234 in src/uu/date/src/date.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/date/src/date.rs#L233-L234

Added lines #L233 - L234 were not covered by tests

Check warning on line 440 in src/uu/dd/src/dd.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/dd/src/dd.rs#L440

Added line #L440 was not covered by tests

Check warning on line 864 in src/uu/dd/src/dd.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/dd/src/dd.rs#L864

Added line #L864 was not covered by tests

Check warning on line 600 in src/uu/env/src/env.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/env/src/env.rs#L598-L600

Added lines #L598 - L600 were not covered by tests

Check warning on line 34 in src/uu/head/src/take.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/head/src/take.rs#L34

Added line #L34 was not covered by tests

Check warning on line 748 in src/uu/more/src/more.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/more/src/more.rs#L748

Added line #L748 was not covered by tests

Check warning on line 795 in src/uu/more/src/more.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/more/src/more.rs#L795

Added line #L795 was not covered by tests

Check warning on line 1814 in src/uu/sort/src/sort.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/sort/src/sort.rs#L1812-L1814

Added lines #L1812 - L1814 were not covered by tests

Check warning on line 780 in src/uu/split/src/split.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/split/src/split.rs#L780

Added line #L780 was not covered by tests

Check warning on line 32 in src/uu/sum/src/sum.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/sum/src/sum.rs#L32

Added line #L32 was not covered by tests

Check warning on line 56 in src/uu/sum/src/sum.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/sum/src/sum.rs#L56

Added line #L56 was not covered by tests

Check warning on line 396 in src/uu/tail/src/tail.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/tail/src/tail.rs#L396

Added line #L396 was not covered by tests

Check warning on line 195 in src/uu/wc/src/count_fast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/wc/src/count_fast.rs#L195

Added line #L195 was not covered by tests

Check warning on line 249 in src/uu/wc/src/count_fast.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uu/wc/src/count_fast.rs#L249

Added line #L249 was not covered by tests

Check warning on line 674 in src/uucore/src/lib/features/checksum.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/checksum.rs#L674

Added line #L674 was not covered by tests

Check warning on line 520 in src/uucore/src/lib/features/parser/num_parser.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/parser/num_parser.rs#L520

Added line #L520 was not covered by tests

Check warning on line 128 in src/uucore/src/lib/features/perms.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/perms.rs#L122-L128

Added lines #L122 - L128 were not covered by tests

Check warning on line 139 in src/uucore/src/lib/features/perms.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/features/perms.rs#L132-L139

Added lines #L132 - L139 were not covered by tests

Check warning on line 177 in src/uucore/src/lib/mods/locale.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/uucore/src/lib/mods/locale.rs#L177

Added line #L177 was not covered by tests