Skip to content

Commit 55b043e

Browse files
authored
run clippy on all targets (#141)
1 parent fad912f commit 55b043e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ format-check:
3131

3232
lint:
3333
@rustup component add clippy 2> /dev/null
34-
@cargo clippy
34+
@cargo clippy --examples --tests
3535

3636
.PHONY: all doc build check test format format-check lint check-minver

examples/colors256.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ fn main() {
44
for i in 0..=255 {
55
print!("{:03} ", style(i).color256(i));
66
if i % 16 == 15 {
7-
println!("");
7+
println!();
88
}
99
}
1010

1111
for i in 0..=255 {
1212
print!("{:03} ", style(i).black().on_color256(i));
1313
if i % 16 == 15 {
14-
println!("");
14+
println!();
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)