Remove outdated comment
There is no `reset` anymore
This commit is contained in:
parent
1393ef1fa0
commit
f040210b31
@ -249,8 +249,7 @@ pub fn postorder<'a, 'tcx>(
|
||||
///
|
||||
/// Construction of a `ReversePostorder` traversal requires doing a full
|
||||
/// postorder traversal of the graph, therefore this traversal should be
|
||||
/// constructed as few times as possible. Use the `reset` method to be able
|
||||
/// to re-use the traversal
|
||||
/// constructed as few times as possible.
|
||||
#[derive(Clone)]
|
||||
pub struct ReversePostorder<'a, 'tcx> {
|
||||
body: &'a Body<'tcx>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user