mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
b87d0d0d94
Rework DepthFirstSearch API This expands the API to be more flexible, allowing for more visitation patterns on graphs. This will be useful to avoid extra datasets (and allocations) in cases where the expanded DFS API is sufficient. This also fixes a bug with the previous DFS constructor, which left the start node not marked as visited (even though it was immediately returned). Commit written by ```@nikomatsakis``` originally, cherry picked from several commits in work on never type stabilization, but stands alone. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |