aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/rpccall/passwordchange.rs
diff options
context:
space:
mode:
authorMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
committerMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
commitf42ef4bec6d1c63c0d8564cfb06e996666dedbe3 (patch)
treee526bf4cae5ecf798469acc157b14122d4a5e25a /src/message/signalproxy/rpccall/passwordchange.rs
parentreplace all match_variant instances with try_into (diff)
clean up clippy lints
Diffstat (limited to 'src/message/signalproxy/rpccall/passwordchange.rs')
-rw-r--r--src/message/signalproxy/rpccall/passwordchange.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message/signalproxy/rpccall/passwordchange.rs b/src/message/signalproxy/rpccall/passwordchange.rs
index b96b926..16bf78f 100644
--- a/src/message/signalproxy/rpccall/passwordchange.rs
+++ b/src/message/signalproxy/rpccall/passwordchange.rs
@@ -21,7 +21,7 @@ impl RpcCallType for ChangePassword {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- self.peer.clone().into(),
+ self.peer.into(),
self.user.clone().into(),
self.before.clone().into(),
self.after.clone().into(),
@@ -64,8 +64,8 @@ impl RpcCallType for PasswordChanged {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- self.peer.clone().into(),
- self.success.clone().into(),
+ self.peer.into(),
+ self.success.into(),
])
}