mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 02:13:24 +00:00
Use #[expect(lint)]
, not #[allow(lint)]
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
1899646391
commit
0dca168717
@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
#![allow(dead_code)]
|
||||
#![allow(unused_variables)]
|
||||
#![expect(dead_code)]
|
||||
#![expect(unused_variables)]
|
||||
|
||||
use alloc::sync::Arc;
|
||||
use core::time::Duration;
|
||||
|
@ -2,5 +2,5 @@
|
||||
|
||||
mod condvar;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
#[expect(unused_imports)]
|
||||
pub use self::condvar::{Condvar, LockErr};
|
||||
|
Reference in New Issue
Block a user