rename storage to memoized

This commit is contained in:
Niko Matsakis 2018-09-28 17:47:09 -04:00
parent 8184723357
commit fcd8e97500
2 changed files with 2 additions and 2 deletions

View file

@ -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)*