Diffstat (limited to 'src/protocol/visitor/sequence.rs')
-rw-r--r--src/protocol/visitor/sequence.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol/visitor/sequence.rs b/src/protocol/visitor/sequence.rs
index c525513..4138be1 100644
--- a/src/protocol/visitor/sequence.rs
+++ b/src/protocol/visitor/sequence.rs
@@ -93,10 +93,10 @@ pub fn visit_sequence<'a, 'ctx, E: Effect>(
scope: DynSequenceScope<'a, 'ctx, E>,
) -> ErasedEffective<'a, VisitResult<DynSequenceScope<'a, 'ctx, E>>, E> {
if let Some(object) = visitor.0.upcast_mut::<SequenceProto<E>>() {
- // Allow the visitor to give a hint if it wants.
+ // Allow the visitor to walk the sequence scope.
object.visit(scope)
} else {
- // If the visitor doesn't support request hint then we continue.
+ // If the visitor doesn't support sequence then we continue.
VisitResult::Skipped(scope).ready()
}
}