Use default instead of new

This commit is contained in:
Ayaz Hafiz 2022-09-06 15:48:59 -05:00
parent a3f3771326
commit 4ed579d7a6
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 6 additions and 4 deletions

View file

@ -20,7 +20,7 @@ impl ExternalModuleStorage {
pub fn new(subs: Subs) -> Self {
Self {
storage: StorageSubs::new(subs),
variable_mapping_cache: VariableMapCache::new(),
variable_mapping_cache: VariableMapCache::default(),
}
}