diff --git a/src/lib.rs b/src/lib.rs index c2f1729a..471688ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; + type Storage = $crate::memoized::MemoizedStorage; fn execute($query: &QC, $key: $key_ty) -> $value_ty { $($body)* diff --git a/src/storage.rs b/src/memoized.rs similarity index 100% rename from src/storage.rs rename to src/memoized.rs