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

Commit

Permalink
refactor(rtc_udh): 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 5f1cb5e commit c79588d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtc_udh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn get_responder(id: &u64) -> Result<SyncSendResponder, sgx_status_t> {
.or(Err(sgx_status_t::SGX_ERROR_UNEXPECTED))?
.get(id)
.ok_or(sgx_status_t::SGX_ERROR_INVALID_ENCLAVE_ID)
.map(Clone::clone)
.cloned()
}

#[no_mangle]
Expand Down

0 comments on commit c79588d

Please sign in to comment.