clippy allow -> expect
This commit is contained in:
@@ -192,7 +192,7 @@ fn body_limit_layer(server: &Server) -> DefaultBodyLimit {
|
||||
}
|
||||
|
||||
#[tracing::instrument(name = "panic", level = "error", skip_all)]
|
||||
#[allow(clippy::needless_pass_by_value)]
|
||||
#[expect(clippy::needless_pass_by_value)]
|
||||
fn catch_panic(
|
||||
err: Box<dyn Any + Send + 'static>,
|
||||
services: Arc<Services>,
|
||||
|
||||
@@ -73,7 +73,6 @@ pub(crate) async fn handle(
|
||||
skip_all,
|
||||
ret(level = "trace"),
|
||||
)]
|
||||
#[allow(unused_variables)]
|
||||
async fn execute(
|
||||
// we made a safety contract that Services will not go out of scope
|
||||
// during the request; this ensures a reference is accounted for at
|
||||
|
||||
Reference in New Issue
Block a user