mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Drop the last two lint expectations clippy 1.98 no longer fulfils (#8568)
Assisted-by: Claude Code:claude-opus-5
This commit is contained in:
1 parent
e5c8701d44
commit
c4549e1985
2 files changed
-8
No files matched your search
@@ -1406,10 +1406,6 @@ fn build_posix_spawn_attrs(
|
||||
target_os = "illumos",
|
||||
target_os = "hurd",
|
||||
)))]
|
||||
#[expect(
|
||||
clippy::std_instead_of_core,
|
||||
reason = "false positive: core::io::ErrorKind is unstable (core_io); expect is co-gated with the usage so it is not left unfulfilled on platforms where this block is compiled out"
|
||||
)]
|
||||
{
|
||||
return Err(std::io::Error::new(
|
||||
std::io::ErrorKind::Unsupported,
|
||||
|
||||
@@ -337,10 +337,6 @@ pub(crate) mod _signal {
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
#[expect(
|
||||
clippy::std_instead_of_core,
|
||||
reason = "false positive: core::io::ErrorKind is unstable (core_io)"
|
||||
)]
|
||||
let is_socket = if fd != INVALID_WAKEUP {
|
||||
host_signal::wakeup_fd_is_socket(fd).map_err(|err| {
|
||||
if err.kind() == std::io::ErrorKind::InvalidInput {
|
||||
|
||||
Reference in new issue
Block a user