Skip to content

Commit ee2b66a

Browse files
committed
opt: use array splitting instead of vecdeque
1 parent e735330 commit ee2b66a

7 files changed

Lines changed: 135 additions & 188 deletions

File tree

core/src/visitor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ impl<C> Error for ChainError<C> where C: Debug {}
311311
/// - The `Break` type represents the full path taken to the intended target node, *including the
312312
/// index of the first node*.
313313
/// - The first node's index *MUST* be exactly the index provided originally.
314-
/// - All visitors but the first must implement [`navigation::StartingFrom`].
314+
/// - All visitors but the first must implement [`navigation::VisitFrom`].
315315
/// - The visitor accepts the path *not including the index of the first node* (this is instead
316316
/// provided as an argument to [`Visitor::visit`]).
317317
#[macro_export]

0 commit comments

Comments
 (0)