mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 02:03:29 +00:00
Apply pedantic Clippy lints
This commit is contained in:
+2
-2
@@ -171,9 +171,9 @@ fn main() -> Result<ExitCode> {
|
||||
stdout.write_all(b"\n")?;
|
||||
|
||||
return Ok(ExitCode::FAILURE);
|
||||
} else {
|
||||
app_state.render_final_message(&mut stdout)?;
|
||||
}
|
||||
|
||||
app_state.render_final_message(&mut stdout)?;
|
||||
}
|
||||
Some(Subcommands::Reset { name }) => {
|
||||
app_state.set_current_exercise_by_name(&name)?;
|
||||
|
||||
Reference in New Issue
Block a user