channel padding parameters update: Drop a redundant clone

This commit is contained in:
Ian Jackson 2022-06-16 17:48:17 +01:00
parent a5aaa56c3c
commit db4e5aba97
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}