Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
refactor(rtc_tenclave): map(Clone::clone) → cloned()
Browse files Browse the repository at this point in the history
  • Loading branch information
PiDelport authored May 28, 2021
1 parent c79588d commit 1985ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtc_tenclave/src/dh/sessions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ where
.read()
.expect("RwLock poisoned")
.get(id)
.map(Clone::clone)
.cloned()
}

fn lock_write(&self) -> RwLockWriteGuard<HashMap<u64, Arc<AtomicSession<TResp>>>> {
Expand Down

0 comments on commit 1985ee9

Please sign in to comment.