From 56db49bdfe08d4ccb2ebe90c822fd6d151e12f8c Mon Sep 17 00:00:00 2001 From: fef Date: Tue, 27 Dec 2022 02:17:02 +0100 Subject: [PATCH] cargussy format --- src/data/memcache.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {