mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 00:06:34 +00:00
Use #[expect(lint)]
, not #[allow(lint)]
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
1899646391
commit
0dca168717
@ -80,7 +80,7 @@ impl Taskless {
|
||||
// Since the same taskless will not be executed concurrently,
|
||||
// it is safe to use a `RefCell` here though the `Taskless` will
|
||||
// be put into an `Arc`.
|
||||
#[allow(clippy::arc_with_non_send_sync)]
|
||||
#[expect(clippy::arc_with_non_send_sync)]
|
||||
Arc::new(Self {
|
||||
is_scheduled: AtomicBool::new(false),
|
||||
is_running: AtomicBool::new(false),
|
||||
|
Reference in New Issue
Block a user