From 55b043e746745ddf394295f7153dfa56cb6d548e Mon Sep 17 00:00:00 2001 From: danieleades <33452915+danieleades@users.noreply.github.com> Date: Wed, 7 Dec 2022 09:07:19 +0000 Subject: [PATCH] run clippy on all targets (#141) --- Makefile | 2 +- examples/colors256.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 53030400..deb13079 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/examples/colors256.rs b/examples/colors256.rs index 274b3123..60acb88e 100644 --- a/examples/colors256.rs +++ b/examples/colors256.rs @@ -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!(); } } }