Skip to content

Commit b137a47

Browse files
committed
Don't use "base place" for different concepts
1 parent e5375b2 commit b137a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/visit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ macro_rules! make_mir_visitor {
712712
location: Location) {
713713
// this is calling `super_place` in preparation for changing `Place` to be
714714
// a struct with a base and a slice of projections. `visit_place` should only ever
715-
// be called for the base place now.
715+
// be called for the outermost place now.
716716
self.super_place(& $($mutability)? proj.base, context, location);
717717
match & $($mutability)? proj.elem {
718718
ProjectionElem::Deref => {

0 commit comments

Comments
 (0)