clean up imports

This commit is contained in:
Evan Almloff 2022-06-09 12:44:07 -05:00
parent f06920a37e
commit aa9f5a1a42

View file

@ -7,10 +7,7 @@ use axum::{
Router, Router,
}; };
use notify::{RecommendedWatcher, Watcher}; use notify::{RecommendedWatcher, Watcher};
use std::{ use std::{fs::File, io::Read};
fs::{self, File},
io::{self, Read},
};
use std::{path::PathBuf, sync::Arc}; use std::{path::PathBuf, sync::Arc};
use tower::ServiceBuilder; use tower::ServiceBuilder;
@ -25,6 +22,7 @@ mod hot_reload_improts {
pub use dioxus_rsx_interpreter::{error::RecompileReason, CodeLocation, SetRsxMessage}; pub use dioxus_rsx_interpreter::{error::RecompileReason, CodeLocation, SetRsxMessage};
pub use std::collections::HashMap; pub use std::collections::HashMap;
pub use std::sync::Mutex; pub use std::sync::Mutex;
pub use std::{fs, io};
pub use syn::__private::ToTokens; pub use syn::__private::ToTokens;
} }
#[cfg(feature = "hot_reload")] #[cfg(feature = "hot_reload")]