mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-26 17:02:32 +01:00
Ignore clippy false positive
This commit is contained in:
@@ -732,6 +732,9 @@ impl<Req, Res> InFlightRequest<Req, Res> {
|
||||
},
|
||||
} = self;
|
||||
let method = serve.method(&message);
|
||||
// TODO(https://github.com/rust-lang/rust-clippy/issues/9111)
|
||||
// remove when clippy is fixed
|
||||
#[allow(clippy::needless_borrow)]
|
||||
span.record("otel.name", &method.unwrap_or(""));
|
||||
let _ = Abortable::new(
|
||||
async move {
|
||||
|
||||
Reference in New Issue
Block a user