aboutsummaryrefslogtreecommitdiff
path: root/src/message/signalproxy/rpccall/network.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/message/signalproxy/rpccall/network.rs')
-rw-r--r--src/message/signalproxy/rpccall/network.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message/signalproxy/rpccall/network.rs b/src/message/signalproxy/rpccall/network.rs
index aeb3f80..738dddf 100644
--- a/src/message/signalproxy/rpccall/network.rs
+++ b/src/message/signalproxy/rpccall/network.rs
@@ -53,7 +53,7 @@ impl RpcCallType for RemoveNetwork {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- self.network_id.clone().into(),
+ self.network_id.into(),
])
}
@@ -86,7 +86,7 @@ impl RpcCallType for NetworkCreated {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- self.network_id.clone().into(),
+ self.network_id.into(),
])
}
@@ -119,7 +119,7 @@ impl RpcCallType for NetworkRemoved {
fn to_network(&self) -> Result<Vec<crate::primitive::Variant>, crate::ProtocolError> {
Ok(vec![
Variant::ByteArray(Self::NAME.to_string()),
- self.network_id.clone().into(),
+ self.network_id.into(),
])
}