Use FastIndexMap for SpecialTypes::predeclared_types.

This commit is contained in:
Jim Blandy
2023-09-20 15:38:46 -07:00
parent 6a254d904d
commit 89523aec08

View File

@@ -1996,7 +1996,7 @@ pub struct SpecialTypes {
///
/// Call [`Module::generate_predeclared_type`] to populate this if
/// needed and return the handle.
pub predeclared_types: indexmap::IndexMap<PredeclaredType, Handle<Type>>,
pub predeclared_types: FastIndexMap<PredeclaredType, Handle<Type>>,
}
/// Shader module.