Add BREAK too, and improve the comments
This commit is contained in:
@@ -286,7 +286,7 @@ where
|
||||
prior_status: Option<NodeStatus>,
|
||||
) -> ControlFlow<Self::BreakVal> {
|
||||
match prior_status {
|
||||
Some(NodeStatus::Visited) => ControlFlow::Break(()),
|
||||
Some(NodeStatus::Visited) => ControlFlow::BREAK,
|
||||
_ => ControlFlow::CONTINUE,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user