Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/salsa/src/plumbing.rs')
| -rw-r--r-- | crates/salsa/src/plumbing.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/salsa/src/plumbing.rs b/crates/salsa/src/plumbing.rs index 1dfde63986..e96b9daa97 100644 --- a/crates/salsa/src/plumbing.rs +++ b/crates/salsa/src/plumbing.rs @@ -12,8 +12,9 @@ use std::fmt::Debug; use std::hash::Hash; use triomphe::Arc; -pub use crate::derived::DependencyStorage; pub use crate::derived::MemoizedStorage; +pub use crate::derived_lru::DependencyStorage as LruDependencyStorage; +pub use crate::derived_lru::MemoizedStorage as LruMemoizedStorage; pub use crate::input::{InputStorage, UnitInputStorage}; pub use crate::interned::InternedStorage; pub use crate::interned::LookupInternedStorage; @@ -228,7 +229,7 @@ where /// that is, storage whose value is not derived from other storage but /// is set independently. pub trait LruQueryStorageOps { - fn set_lru_capacity(&self, new_capacity: usize); + fn set_lru_capacity(&self, new_capacity: u16); } pub trait DerivedQueryStorageOps<Q> |