clippy allow -> expect
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user