Remove warnings from build and satisfied clippy (#1288)

* Prefixed unused functions with underscore

* Applied clippy lints

* Fixed some warnings and removed some `allow` statements
This commit is contained in:
Prikshit Gautam
2023-06-07 14:46:47 +05:30
committed by Dennis Kobert
parent 9b4bc566eb
commit f933ece04d
33 changed files with 54 additions and 60 deletions

View File

@@ -614,7 +614,7 @@ impl NodeNetwork {
fn replace_network_outputs(&mut self, old_output: NodeOutput, new_output: NodeOutput) {
for output in self.outputs.iter_mut() {
if *output == old_output {
*output = new_output.clone();
*output = new_output;
}
}
}