Skip to content

Commit 00ca861

Browse files
committed
Remove "dependence" on typeck from comment in substs.
1 parent 9aeaaab commit 00ca861

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc/middle/subst.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,7 @@ impl<'a, 'tcx> TypeFolder<'tcx> for SubstFolder<'a, 'tcx> {
589589
// type declarations and other outer declarations, not those
590590
// bound in *fn types*. Region substitution of the bound
591591
// regions that appear in a function signature is done using
592-
// the specialized routine
593-
// `middle::typeck::check::regionmanip::replace_late_regions_in_fn_sig()`.
592+
// the specialized routine `ty::replace_late_regions()`.
594593
match r {
595594
ty::ReEarlyBound(_, space, i, region_name) => {
596595
match self.substs.regions {

0 commit comments

Comments
 (0)