Account for IngredientCache::get_or_create() taking &Zalsa and not &dyn Database
This commit is contained in:
parent
676f2121e6
commit
a27da3141c
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ const _: () = {
|
|||
{
|
||||
static CACHE: zalsa_::IngredientCache<zalsa_struct_::IngredientImpl<SyntaxContext>> =
|
||||
zalsa_::IngredientCache::new();
|
||||
CACHE.get_or_create(db.as_dyn_database(), || {
|
||||
CACHE.get_or_create(db.zalsa(), || {
|
||||
db.zalsa().add_or_lookup_jar_by_type::<zalsa_struct_::JarImpl<SyntaxContext>>()
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue