From 027cbdb629be36bc2da5a39061d899ccedf3099f Mon Sep 17 00:00:00 2001 From: manmen-mi Date: Sun, 8 Dec 2024 11:46:56 +0900 Subject: [PATCH] format / reduce diff --- src/app_state.rs | 3 ++- src/main.rs | 1 - src/url_replacer.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app_state.rs b/src/app_state.rs index 7de17543..373a9872 100644 --- a/src/app_state.rs +++ b/src/app_state.rs @@ -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"; diff --git a/src/main.rs b/src/main.rs index 2ee376b4..a7941d28 100644 --- a/src/main.rs +++ b/src/main.rs @@ -186,7 +186,6 @@ fn main() -> Result { if let Some(name) = name { app_state.set_current_exercise_by_name(&name)?; } - println!("{}", app_state.current_exercise().hint); } // Handled in an earlier match. diff --git a/src/url_replacer.rs b/src/url_replacer.rs index b32a8495..6a4aac45 100644 --- a/src/url_replacer.rs +++ b/src/url_replacer.rs @@ -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); } -} \ No newline at end of file +}