clippy allow -> expect

This commit is contained in:
dasha_uwu authored and Jason Volk committed 2026-01-26 19:28:56 +00:00
1 parent fbedd713ca
commit 0c9a3abb71
91 files changed
+126 -166

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ fn into_http_request(request: &Request, body: Bytes) -> hyper::Request<Bytes> {
.expect("http request body")
}
#[allow(clippy::needless_pass_by_value)]
#[expect(clippy::needless_pass_by_value)]
fn take_body(
services: &Services,
request: &mut Request,
+1
View File
@@ -35,6 +35,7 @@ impl RouterExt for Router<State> {
macro_rules! ruma_handler {
( $($tx:ident),* $(,)? ) => {
#[allow(clippy::allow_attributes)]
#[allow(non_snake_case)]
impl<Err, Req, Fut, Fun, $($tx,)*> RumaHandler<($($tx,)* Ruma<Req>,)> for Fun
where