about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-11-25 20:16:28 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-04 10:04:51 -0500
commit00ca861f9dfcbb5bc9f97d8463885fb04ef4812d (patch)
treeb43da1d7d47075f1181ab3d9ea89f2bb9ee894b0
parent9aeaaab3347657375e4d20855f8faebb2ab128da (diff)
downloadrust-00ca861f9dfcbb5bc9f97d8463885fb04ef4812d.tar.gz
rust-00ca861f9dfcbb5bc9f97d8463885fb04ef4812d.zip
Remove "dependence" on typeck from comment in substs.
-rw-r--r--src/librustc/middle/subst.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc/middle/subst.rs b/src/librustc/middle/subst.rs
index 0a3e6c20316..21f57a9d573 100644
--- a/src/librustc/middle/subst.rs
+++ b/src/librustc/middle/subst.rs
@@ -589,8 +589,7 @@ impl<'a, 'tcx> TypeFolder<'tcx> for SubstFolder<'a, 'tcx> {
         // type declarations and other outer declarations, not those
         // bound in *fn types*. Region substitution of the bound
         // regions that appear in a function signature is done using
-        // the specialized routine
-        // `middle::typeck::check::regionmanip::replace_late_regions_in_fn_sig()`.
+        // the specialized routine `ty::replace_late_regions()`.
         match r {
             ty::ReEarlyBound(_, space, i, region_name) => {
                 match self.substs.regions {