Additional cleanup of prelude imports in editor codebase

Closes #744
This commit is contained in:
Keavon Chambers
2022-08-05 17:12:56 -07:00
parent ddfd7db0a0
commit c235c7f252
26 changed files with 11 additions and 49 deletions
-4
View File
@@ -1,8 +1,6 @@
pub use crate::dispatcher::*;
use crate::messages::prelude::*;
use std::collections::VecDeque;
/// Implements a message handler struct for a separate message struct.
/// - The first generic argument (`M`) is that message struct type, representing a message enum variant to be matched and handled in `process_message()`.
/// - The second generic argument (`D`) is the type of data that can be passed along by the caller to `process_message()`.
@@ -44,8 +42,6 @@ pub trait TransitiveChild: Into<Self::Parent> + Into<Self::TopParent> {
type Parent;
}
use std::collections::HashMap;
pub trait Hint {
fn hints(&self) -> HashMap<String, String>;
}