aboutsummaryrefslogtreecommitdiffstats
path: root/src/synchronizer.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-08-26 13:36:36 +0200
committerBryan Newbold <bnewbold@robocracy.org>2019-08-26 13:36:36 +0200
commit9569572f96a7f9517f8a63eebfacb125ad66e30a (patch)
treed156574282c50d852e882936866f4fef25fa1072 /src/synchronizer.rs
parentf0d2a0ee7c560365b52a7de6e39af9c1b18cfa71 (diff)
downloadgeniza-master.tar.gz
geniza-master.zip
cargo fix (with cargo v1.37)HEADmaster
Diffstat (limited to 'src/synchronizer.rs')
-rw-r--r--src/synchronizer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synchronizer.rs b/src/synchronizer.rs
index cfc4cd3..a6f18ee 100644
--- a/src/synchronizer.rs
+++ b/src/synchronizer.rs
@@ -282,7 +282,7 @@ fn init_want_everything(dpt: &mut DatPeerThread, reg_index: u8) -> Result<()> {
}
/// Tries to connect to a single peer, pull register, and close.
-pub fn node_simple_clone(host_port: &str, key: &[u8], register: &mut HyperRegister, reg_index: u8) -> Result<()> {
+pub fn node_simple_clone(host_port: &str, key: &[u8], register: &mut dyn HyperRegister, reg_index: u8) -> Result<()> {
if register.len()? > 0 {
bail!("Register already had data in it (expected empty for naive clone)");