We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8027a30 commit 6842fb9Copy full SHA for 6842fb9
bindings/matrix-sdk-crypto-js/src/vodozemac.rs
@@ -142,7 +142,7 @@ impl DeviceKey {
142
use matrix_sdk_crypto::types::DeviceKey::*;
143
144
match &self.inner {
145
- Curve25519(key) => Some(key.clone().into()),
+ Curve25519(key) => Some((*key).into()),
146
_ => None,
147
}
148
@@ -153,7 +153,7 @@ impl DeviceKey {
153
154
155
156
- Ed25519(key) => Some(key.clone().into()),
+ Ed25519(key) => Some((*key).into()),
157
158
159
0 commit comments