about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compiler/rustc_middle/src/mir/traversal.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/mir/traversal.rs b/compiler/rustc_middle/src/mir/traversal.rs
index ec16a8470c4..fd11bd0c1ac 100644
--- a/compiler/rustc_middle/src/mir/traversal.rs
+++ b/compiler/rustc_middle/src/mir/traversal.rs
@@ -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>,