Fix documentation comments for proc::Layouter::update. (#2478)

This commit is contained in:
Jim Blandy 2023-09-15 09:10:25 -07:00 committed by GitHub
parent 266634e822
commit df8107b788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,10 +151,10 @@ impl Layouter {
self.layouts.clear(); 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 /// Ensure that every type in `gctx.types` has a corresponding [TypeLayout]
/// [`self.layouts`]. /// in [`self.layouts`].
/// ///
/// Some front ends need to be able to compute layouts for existing types /// 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 /// while module construction is still in progress and new types are still