mirror of
https://github.com/jedisct1/encrypted-dns-server
synced 2024-11-12 13:10:44 +00:00
Explicit lifetime
This commit is contained in:
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…
Reference in New Issue
Block a user