Remove some comments, inline interner fn

This commit is contained in:
Michael Goulet 2022-05-27 07:52:56 -07:00
parent 34e05812e0
commit f05a92d158
4 changed files with 4 additions and 39 deletions

View file

@ -463,7 +463,7 @@ static_assert_size!(WithStableHash<TyS<'_>>, 56);
#[rustc_pass_by_value]
pub struct Ty<'tcx>(Interned<'tcx, WithStableHash<TyS<'tcx>>>);
const LEAKED_BOOL_TY_ALREADY: std::sync::atomic::AtomicBool =
static LEAKED_BOOL_TY_ALREADY: std::sync::atomic::AtomicBool =
std::sync::atomic::AtomicBool::new(false);
/// "Static" bool only used for internal testing.