Use #[expect(lint)], not #[allow(lint)]

This commit is contained in:
Ruihan Li
2025-01-24 18:06:53 +08:00
committed by Tate, Hongliang Tian
parent 1899646391
commit 0dca168717
169 changed files with 254 additions and 254 deletions

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MPL-2.0
#[allow(clippy::module_inception)]
#[expect(clippy::module_inception)]
mod events;
mod io_events;
mod observer;

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MPL-2.0
#![allow(unused_variables)]
#![expect(unused_variables)]
use super::Events;