Diffstat (limited to 'src/walk.rs')
-rw-r--r--src/walk.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/walk.rs b/src/walk.rs
index 349a63d..4c2042c 100644
--- a/src/walk.rs
+++ b/src/walk.rs
@@ -7,9 +7,9 @@ use crate::{
};
/// A type that can be walked.
-pub trait Walk<'ctx, M, E: Effect>: WalkerTypes + Sized {
+pub trait Walk<'ctx, M, E: Effect>: Sized {
/// The walker for the type.
- type Walker: Walker<'ctx, E, Error = Self::Error, Output = Self::Output>;
+ type Walker: Walker<'ctx, E>;
#[must_use]
fn into_walker(self) -> Self::Walker;