aboutsummaryrefslogtreecommitdiff
path: root/src/dependency_history.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dependency_history.rs')
-rw-r--r--src/dependency_history.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/dependency_history.rs b/src/dependency_history.rs
index e5b2aea..d0356c0 100644
--- a/src/dependency_history.rs
+++ b/src/dependency_history.rs
@@ -16,7 +16,7 @@ const RESET_BOLD_MODE: &str = "\x1b[22m";
/// [`Injectable`]: crate::interfaces::injectable::Injectable
/// [`AsyncInjectable`]: crate::interfaces::async_injectable::AsyncInjectable
/// [`injectable`]: crate::injectable
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, Default)]
pub struct DependencyHistory
{
inner: Vec<&'static str>,
@@ -94,14 +94,6 @@ impl Display for DependencyHistory
}
}
-impl Default for DependencyHistory
-{
- fn default() -> Self
- {
- Self::new()
- }
-}
-
impl private::Sealed for DependencyHistory {}
pub(crate) mod private