Skip to content

Commit

Permalink
style(clippy): fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Nov 24, 2023
1 parent 1709b4e commit 119b130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use clap::Parser;
fn main() {
let cli = CLI::parse();

print!("\n");
println!();

match &cli.command {
Some(Commands::Square(square::Command { base, height })) => square::view(*base, *height),
Expand Down
2 changes: 1 addition & 1 deletion src/shapes/triangle/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub fn view(
tui::title("Area"),
tui::content(triangle.get_area().to_string().as_str())
);
print!("\n");
println!();
println!(
"{}{}",
tui::title("Perimeter"),
Expand Down

0 comments on commit 119b130

Please sign in to comment.