Rollup merge of #140121 - blyxyas:code_stats_pub_docs, r=jieyouxu
Document why CodeStats::type_sizes is public As indicated in [this comment](https://github.com/rust-lang/rust/pull/139876#issuecomment-2808932673) from #139876 > Need some comment, otherwise this pub can be eventually removed as unused. r? `@nnethercote`
This commit is contained in:
commit
77325f5200
1 changed files with 2 additions and 0 deletions
|
@ -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>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue