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:
Tushar Khatri
2026-06-17 16:05:02 +00:00
committed by Bo Chen
parent 5467db8c54
commit ff83b27937

View File

@@ -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,