diff --git a/src/scoping/mod.rs b/src/scoping/mod.rs index 3c936c94..49807f64 100644 --- a/src/scoping/mod.rs +++ b/src/scoping/mod.rs @@ -3,7 +3,6 @@ use crate::scoping::scope::ROScopes; #[cfg(doc)] use crate::scoping::{scope::Scope, view::ScopedView}; -use std::fmt; /// Fixes for DOS-style line endings. pub mod dosfix; @@ -28,12 +27,6 @@ pub trait Scoper: Send + Sync { fn scope<'viewee>(&self, input: &'viewee str) -> ROScopes<'viewee>; } -impl fmt::Debug for dyn Scoper { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - f.debug_struct("Scoper").finish() - } -} - impl Scoper for T where T: Fn(&str) -> ROScopes + Send + Sync,