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

Commit

Permalink
style(rtc_types::enclave_messages::ffi_set_access_key): fix clippy::n…
Browse files Browse the repository at this point in the history
…eedless_return
  • Loading branch information
PiDelport committed Jun 21, 2021
1 parent d69de3a commit 77479a8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions rtc_types/src/enclave_messages/ffi_set_access_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ impl From<set_access_key::EncryptedRequest> for SetAccessKeyEncryptedRequest {
nonce,
}: set_access_key::EncryptedRequest,
) -> Self {
return SetAccessKeyEncryptedRequest {
SetAccessKeyEncryptedRequest {
tag,
ciphertext,
aad,
nonce,
};
}
}
}

Expand All @@ -86,12 +86,12 @@ impl From<SetAccessKeyEncryptedRequest> for set_access_key::EncryptedRequest {
nonce,
}: SetAccessKeyEncryptedRequest,
) -> Self {
return set_access_key::EncryptedRequest {
set_access_key::EncryptedRequest {
tag,
ciphertext,
aad,
nonce,
};
}
}
}

Expand All @@ -104,12 +104,12 @@ impl From<set_access_key::EncryptedResponse> for SetAccessKeyEncryptedResponse {
nonce,
}: set_access_key::EncryptedResponse,
) -> Self {
return SetAccessKeyEncryptedResponse {
SetAccessKeyEncryptedResponse {
tag,
ciphertext,
aad,
nonce,
};
}
}
}

Expand All @@ -122,12 +122,12 @@ impl From<SetAccessKeyEncryptedResponse> for set_access_key::EncryptedResponse {
nonce,
}: SetAccessKeyEncryptedResponse,
) -> Self {
return set_access_key::EncryptedResponse {
set_access_key::EncryptedResponse {
tag,
ciphertext,
aad,
nonce,
};
}
}
}

Expand Down

0 comments on commit 77479a8

Please sign in to comment.