Remove outdated comment

There is no `reset` anymore
This commit is contained in:
Maybe Waffle 2023-09-28 22:15:51 +00:00
parent 1393ef1fa0
commit f040210b31

View File

@ -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>,