Skip to content

Commit

Permalink
run clippy on all targets
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades committed Oct 25, 2022
1 parent 9c724ae commit eb552ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -31,6 +31,6 @@ format-check:

lint:
@rustup component add clippy 2> /dev/null
@cargo clippy
@cargo clippy --examples --tests

.PHONY: all doc build check test format format-check lint check-minver
4 changes: 2 additions & 2 deletions examples/colors256.rs
Expand Up @@ -4,14 +4,14 @@ fn main() {
for i in 0..=255 {
print!("{:03} ", style(i).color256(i));
if i % 16 == 15 {
println!("");
println!();
}
}

for i in 0..=255 {
print!("{:03} ", style(i).black().on_color256(i));
if i % 16 == 15 {
println!("");
println!();
}
}
}

0 comments on commit eb552ad

Please sign in to comment.