Document why CodeStats::type_sizes is public

This commit is contained in:
blyxyas 2025-04-21 17:36:36 +02:00
parent c8f9423028
commit 619ed1540a

View file

@ -72,6 +72,8 @@ pub struct TypeSizeInfo {
#[derive(Default)]
pub struct CodeStats {
/// The hash set that actually holds all the type size information.
/// The field is public for use in external tools. See #139876.
pub type_sizes: Lock<FxHashSet<TypeSizeInfo>>,
}