Skip to content

Commit

Permalink
fixup: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Oct 29, 2024
1 parent ff1381e commit 039047c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ impl ProtocolHandler for Engine {

fn shutdown(self: Arc<Self>) -> BoxedFuture<()> {
Box::pin(async move {
if let Err(err) = (&*self).shutdown().await {
if let Err(err) = (*self).shutdown().await {
tracing::warn!("shutdown error: {:?}", err);
}
})
Expand Down

0 comments on commit 039047c

Please sign in to comment.