From 3f2060aa7c07f3c7788b56d190446663bc67d360 Mon Sep 17 00:00:00 2001 From: Fabian Drinck Date: Sun, 10 Jun 2018 16:28:27 +0200 Subject: [PATCH] Edit comment --- src/librustc/ty/fold.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/ty/fold.rs b/src/librustc/ty/fold.rs index 8a92d35fe1c2..d459a6de0d69 100644 --- a/src/librustc/ty/fold.rs +++ b/src/librustc/ty/fold.rs @@ -65,7 +65,7 @@ pub trait TypeFoldable<'tcx>: fmt::Debug + Clone { /// True if `self` has any late-bound regions that are either /// bound by `binder` or bound by some binder outside of `binder`. - /// If `binder` is `ty::DebruijnIndex::INNERMOST`, this indicates whether + /// If `binder` is `ty::INNERMOST`, this indicates whether /// there are any late-bound regions that appear free. fn has_regions_bound_at_or_above(&self, binder: ty::DebruijnIndex) -> bool { self.visit_with(&mut HasEscapingRegionsVisitor { outer_index: binder })