From fcd8e975002f7136be9ecb64ae5919426a1f7a75 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Fri, 28 Sep 2018 17:47:09 -0400 Subject: [PATCH] rename storage to memoized --- src/lib.rs | 4 ++-- src/{storage.rs => memoized.rs} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{storage.rs => memoized.rs} (100%) 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