diff --git a/src/data/memcache.rs b/src/data/memcache.rs index ed9b173..7f7e073 100644 --- a/src/data/memcache.rs +++ b/src/data/memcache.rs @@ -29,7 +29,10 @@ impl + Clone> MemCache { for _ in 0..capacity { lines.push(RwLock::new(None)); } - MemCache { lines, _phantom: PhantomData } + MemCache { + lines, + _phantom: PhantomData, + } } pub async fn get(&self, id: I) -> Option {