summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/src/updates.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/src/updates.rs b/net/src/updates.rs
index 07433b78..f4ff91dc 100644
--- a/net/src/updates.rs
+++ b/net/src/updates.rs
@@ -162,7 +162,7 @@ impl Manifest {
read += n;
if read == 4 {
- prefixes.insert(u32::from_be_bytes(prefix.clone()));
+ prefixes.insert(u32::from_be_bytes(prefix));
continue 'parse;
}
}