diff --git a/src/library.rs b/src/library.rs index 714868f..4a9a806 100644 --- a/src/library.rs +++ b/src/library.rs @@ -300,10 +300,7 @@ impl Library { let db = self.cache_db.clone(); match db.get(key.as_bytes()) { // Cache hit, return bytes as-is. - Ok(Some(bytes)) => { - info!("cache HIT {}", key); - Some(bytes) - } + Ok(Some(bytes)) => Some(bytes), // Cache miss, fill cache and return. Ok(None) => { info!("cache MISS {}", key);