Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd authored and cyqsimon committed Aug 25, 2023
1 parent fa2ef9e commit 553d237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ where
Err(_) => println!("Error could not disable raw input"),
}
let mut stdout = std::io::stdout();
if let Err(_) =
crossterm::execute!(&mut stdout, terminal::LeaveAlternateScreen)
if crossterm::execute!(&mut stdout, terminal::LeaveAlternateScreen)
.is_err()
{
println!("Error could not leave alternte screen");
};
Expand Down

0 comments on commit 553d237

Please sign in to comment.