Skip to content

Commit

Permalink
run clippy on all targets (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored Dec 7, 2022
1 parent fad912f commit 55b043e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 55b043e

Please sign in to comment.