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