Skip to content

Commit f040210

Browse files
committed
Remove outdated comment
There is no `reset` anymore
1 parent 1393ef1 commit f040210

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_middle/src/mir/traversal.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,7 @@ pub fn postorder<'a, 'tcx>(
249249
///
250250
/// Construction of a `ReversePostorder` traversal requires doing a full
251251
/// postorder traversal of the graph, therefore this traversal should be
252-
/// constructed as few times as possible. Use the `reset` method to be able
253-
/// to re-use the traversal
252+
/// constructed as few times as possible.
254253
#[derive(Clone)]
255254
pub struct ReversePostorder<'a, 'tcx> {
256255
body: &'a Body<'tcx>,

0 commit comments

Comments
 (0)