diff --git a/rtc_tenclave/src/dh/sessions.rs b/rtc_tenclave/src/dh/sessions.rs index 048fb5f8..df659cc1 100644 --- a/rtc_tenclave/src/dh/sessions.rs +++ b/rtc_tenclave/src/dh/sessions.rs @@ -70,7 +70,7 @@ where .read() .expect("RwLock poisoned") .get(id) - .map(Clone::clone) + .cloned() } fn lock_write(&self) -> RwLockWriteGuard>>> {