Skip to content

Commit

Permalink
stop implicitly passing shutdown()'s result on drop
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Dec 13, 2024
1 parent c60ecf8 commit eaae5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub struct SubSocket {

impl Drop for SubSocket {
fn drop(&mut self) {
self.backend.shutdown()
self.backend.shutdown();
}
}

Expand Down

0 comments on commit eaae5cc

Please sign in to comment.