Skip to main content

luaur_analysis/methods/
replace_generics_is_dirty_instantiation_alt_b.rs

1use crate::records::replace_generics::ReplaceGenerics;
2use crate::type_aliases::type_pack_id::TypePackId;
3
4impl ReplaceGenerics {
5    pub fn is_dirty_type_pack_id(&self, _tp: TypePackId) -> bool {
6        self.generic_packs.iter().any(|&tp| tp == _tp)
7    }
8}