Diffstat (limited to 'src/protocol/visitor/request_hint.rs')
| -rw-r--r-- | src/protocol/visitor/request_hint.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/protocol/visitor/request_hint.rs b/src/protocol/visitor/request_hint.rs index d79ef73..c7aa847 100644 --- a/src/protocol/visitor/request_hint.rs +++ b/src/protocol/visitor/request_hint.rs @@ -1,8 +1,9 @@ use core::ops::ControlFlow; use crate::{ + effect::{Effect, SyncEffect, Yield}, nameable, - protocol::{Yield, Effect, SyncEffect, Walker}, + protocol::Walker, }; /// Protocol for requesting a hint from a visitor. @@ -11,7 +12,10 @@ pub trait RequestHint<'a, 'ctx: 'a, E: Effect<'ctx, ControlFlow<(), ()>>> { /// /// `walker` is what the visitor (`self`) will call to give a hint using the /// [`Hint`][crate::builtins::walker::Hint] protocol. - fn request_hint(&'a mut self, walker: Walker<'a, 'ctx, E>) -> Yield<'a, 'ctx, ControlFlow<(), ()>, E>; + fn request_hint( + &'a mut self, + walker: Walker<'a, 'ctx, E>, + ) -> Yield<'a, 'ctx, ControlFlow<(), ()>, E>; } nameable! { |