Skip to content

Commit d536862

Browse files
Clippy says to remove use leap; at the beginning (#987)
``` warning: this import is redundant --> tests/leap.rs:1:1 | 1 | use leap; | ^^^^^^^^^ help: remove it entirely | = note: `#[warn(clippy::single_component_path_imports)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports warning: 1 warning emitted ```
1 parent d123082 commit d536862

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

exercises/leap/tests/leap.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use leap;
2-
31
fn process_leapyear_case(year: u64, expected: bool) {
42
assert_eq!(leap::is_leap_year(year), expected);
53
}

0 commit comments

Comments
 (0)