mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vhost_user_net: reevaluate #[allow] attributes
Convert the still-needed #[allow] to #[expect] so it warns if the lint stops firing. Part of #8326. Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
@@ -119,7 +119,7 @@ pub struct VhostUserNetBackend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl VhostUserNetBackend {
|
impl VhostUserNetBackend {
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[expect(clippy::too_many_arguments)]
|
||||||
fn new(
|
fn new(
|
||||||
ip_addr: IpAddr,
|
ip_addr: IpAddr,
|
||||||
host_mac: MacAddr,
|
host_mac: MacAddr,
|
||||||
|
|||||||
Reference in New Issue
Block a user