mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 23:10:30 +00:00
format / reduce diff
This commit is contained in:
parent
6760560920
commit
027cbdb629
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,8 @@ use crate::{
|
|||
embedded::EMBEDDED_FILES,
|
||||
exercise::{Exercise, RunnableExercise},
|
||||
info_file::ExerciseInfo,
|
||||
term::{self, CheckProgressVisualizer}, url_replacer::UrlReplacer,
|
||||
term::{self, CheckProgressVisualizer},
|
||||
url_replacer::UrlReplacer,
|
||||
};
|
||||
|
||||
const STATE_FILE_NAME: &str = ".rustlings-state.txt";
|
||||
|
|
|
@ -186,7 +186,6 @@ fn main() -> Result<ExitCode> {
|
|||
if let Some(name) = name {
|
||||
app_state.set_current_exercise_by_name(&name)?;
|
||||
}
|
||||
|
||||
println!("{}", app_state.current_exercise().hint);
|
||||
}
|
||||
// Handled in an earlier match.
|
||||
|
|
Loading…
Reference in a new issue