mirror of
https://github.com/salsa-rs/salsa.git
synced 2024-12-27 06:27:45 +00:00
rename storage to memoized
This commit is contained in:
parent
8184723357
commit
fcd8e97500
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ use std::fmt::Write;
|
|||
use std::hash::Hash;
|
||||
|
||||
pub mod dyn_descriptor;
|
||||
pub mod storage;
|
||||
pub mod memoized;
|
||||
|
||||
pub trait BaseQueryContext: Sized {
|
||||
/// A "query descriptor" packages up all the possible queries and a key.
|
||||
|
@ -182,7 +182,7 @@ macro_rules! query_definition {
|
|||
{
|
||||
type Key = $key_ty;
|
||||
type Value = $value_ty;
|
||||
type Storage = $crate::storage::MemoizedStorage<QC, Self>;
|
||||
type Storage = $crate::memoized::MemoizedStorage<QC, Self>;
|
||||
|
||||
fn execute($query: &QC, $key: $key_ty) -> $value_ty {
|
||||
$($body)*
|
||||
|
|
Loading…
Reference in a new issue