Explicit lifetime

pull/12/head
Frank Denis 5 years ago
parent dbbdf984e9
commit 05d62da515

@ -58,7 +58,7 @@ impl Cache {
}
#[inline]
pub fn lock(&self) -> MutexGuard<ClockProCache<u128, CachedResponse>> {
pub fn lock(&self) -> MutexGuard<'_, ClockProCache<u128, CachedResponse>> {
self.cache.lock()
}
}

Loading…
Cancel
Save