[Clippy] Swap waker_clone_wake to use diagnostic item instead of path
This commit is contained in:
parent
45c1700e13
commit
d63e35ba22
2 changed files with 2 additions and 3 deletions
|
|
@ -73,4 +73,3 @@ pub const TOKIO_IO_OPEN_OPTIONS: [&str; 4] = ["tokio", "fs", "open_options", "Op
|
|||
#[expect(clippy::invalid_paths)] // internal lints do not know about all external crates
|
||||
pub const TOKIO_IO_OPEN_OPTIONS_NEW: [&str; 5] = ["tokio", "fs", "open_options", "OpenOptions", "new"];
|
||||
pub const INSTANT_NOW: [&str; 4] = ["std", "time", "Instant", "now"];
|
||||
pub const WAKER: [&str; 4] = ["core", "task", "wake", "Waker"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue