From df8107b78812cc2b1e3d5de35279cedc1f0da3fb Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Fri, 15 Sep 2023 09:10:25 -0700 Subject: [PATCH] Fix documentation comments for `proc::Layouter::update`. (#2478) --- src/proc/layouter.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/proc/layouter.rs b/src/proc/layouter.rs index 11b2250e93..4c52e5ec81 100644 --- a/src/proc/layouter.rs +++ b/src/proc/layouter.rs @@ -151,10 +151,10 @@ impl Layouter { self.layouts.clear(); } - /// Extend this `Layouter` with layouts for any new entries in `types`. + /// Extend this `Layouter` with layouts for any new entries in `gctx.types`. /// - /// Ensure that every type in `types` has a corresponding [TypeLayout] in - /// [`self.layouts`]. + /// Ensure that every type in `gctx.types` has a corresponding [TypeLayout] + /// in [`self.layouts`]. /// /// Some front ends need to be able to compute layouts for existing types /// while module construction is still in progress and new types are still