summaryrefslogtreecommitdiff
path: root/src/watch.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-18 11:31:08 +0200
committermo8it <mo8it@proton.me>2024-04-18 11:31:08 +0200
commit2566f9aaf674458f6faff7e8aaf77bb108b7d56c (patch)
tree8f6f1e15f51139cb8315e9670d58f7d14156362d /src/watch.rs
parent1eac00e89ae9e0ed6969f5036e9c8c43e4435e86 (diff)
Place mods under all imports
Diffstat (limited to 'src/watch.rs')
-rw-r--r--src/watch.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/watch.rs b/src/watch.rs
index d20e552..5ebe526 100644
--- a/src/watch.rs
+++ b/src/watch.rs
@@ -11,10 +11,6 @@ use std::{
time::Duration,
};
-mod notify_event;
-mod state;
-mod terminal_event;
-
use crate::app_state::{AppState, ExercisesProgress};
use self::{
@@ -23,6 +19,10 @@ use self::{
terminal_event::{terminal_event_handler, InputEvent},
};
+mod notify_event;
+mod state;
+mod terminal_event;
+
enum WatchEvent {
Input(InputEvent),
FileChange { exercise_ind: usize },