clippy allow -> expect

This commit is contained in:
dasha_uwu
2026-01-22 21:48:41 +05:00
committed by Jason Volk
parent fbedd713ca
commit 0c9a3abb71
91 changed files with 126 additions and 166 deletions

View File

@@ -41,7 +41,7 @@ struct Msg {
queue_id: Vec<u8>,
}
#[allow(clippy::module_name_repetitions)]
#[expect(clippy::module_name_repetitions)]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub enum SendingEvent {
Pdu(RawPduId), // pduid

View File

@@ -159,7 +159,7 @@ impl Service {
});
}
#[allow(clippy::needless_pass_by_ref_mut)]
#[expect(clippy::needless_pass_by_ref_mut)]
async fn handle_response_ok<'a>(
&'a self,
dest: &Destination,
@@ -192,7 +192,7 @@ impl Service {
}
}
#[allow(clippy::needless_pass_by_ref_mut)]
#[expect(clippy::needless_pass_by_ref_mut)]
#[tracing::instrument(name = "request", level = "debug", skip_all)]
async fn handle_request<'a>(
&'a self,
@@ -245,7 +245,7 @@ impl Service {
skip_all,
fields(futures = %futures.len()),
)]
#[allow(clippy::needless_pass_by_ref_mut)]
#[expect(clippy::needless_pass_by_ref_mut)]
async fn startup_netburst<'a>(
&'a self,
id: usize,