summaryrefslogtreecommitdiffstats
path: root/src/endpoint
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-13 09:36:29 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-15 23:21:39 +0100
commita67c4688539b2fafb3b7efbc8216fe918b39d72f (patch)
tree839d019bbfe1f2c7ab1653f729fe2a06e0593b77 /src/endpoint
parenta5c2a6b272988e778993554a2c247f9caf3574d7 (diff)
Fix clippy: calls to `std::mem::drop` with a reference instead of an owned value. Dropping a reference does nothing
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint')
-rw-r--r--src/endpoint/scheduler.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/endpoint/scheduler.rs b/src/endpoint/scheduler.rs
index 0ed13cb..9b2db0a 100644
--- a/src/endpoint/scheduler.rs
+++ b/src/endpoint/scheduler.rs
@@ -308,7 +308,6 @@ impl<'a> LogReceiver<'a> {
};
self.bar.finish_with_message(&finish_msg);
- drop(self.bar);
if let Some(mut lf) = logfile {
let _ = lf.flush().await?;
}