mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
format / reduce diff
This commit is contained in:
parent
6760560920
commit
027cbdb629
|
@ -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.
|
||||
|
|
|
@ -64,4 +64,4 @@ link: https://doc.rust-kr.org/ch03-02-data-types.html", replacer.replace(hint));
|
|||
|
||||
assert_eq!(TEST_DOMAIN, replacer.base_url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue