From db4e5aba97384e885b551c19cfd6ff209c6378fb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 16 Jun 2022 17:48:17 +0100 Subject: [PATCH] channel padding parameters update: Drop a redundant clone --- crates/tor-chanmgr/src/mgr/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/tor-chanmgr/src/mgr/map.rs b/crates/tor-chanmgr/src/mgr/map.rs index 29f768b31..0505e9360 100644 --- a/crates/tor-chanmgr/src/mgr/map.rs +++ b/crates/tor-chanmgr/src/mgr/map.rs @@ -577,7 +577,7 @@ mod test { eprintln!(); eprintln!("-- process a default netdir again, which should *not* send an update --"); - map.process_updated_netdir(netdir.clone()).unwrap(); + map.process_updated_netdir(netdir).unwrap(); with_ch(&|ch| assert_eq!(ch.config_update, None)); }