Skip to content

Commit 3808f7a

Browse files
committed
Ignore return value of self.producer.flush()
Signed-off-by: Nye Liu <[email protected]>
1 parent e985e0d commit 3808f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/publisher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ impl Publisher {
7777

7878
impl Drop for Publisher {
7979
fn drop(&mut self) {
80-
self.producer.flush(self.shutdown_timeout);
80+
let _ = self.producer.flush(self.shutdown_timeout);
8181
}
8282
}

0 commit comments

Comments
 (0)