We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
net::is_interrupted
std::sys::solid::is_interrupted
1 parent 2f5df8a commit dc37959Copy full SHA for dc37959
library/std/src/sys/solid/error.rs
@@ -31,11 +31,6 @@ pub fn error_name(er: abi::ER) -> Option<&'static str> {
31
}
32
33
34
-#[inline]
35
-fn is_interrupted(er: abi::ER) -> bool {
36
- false
37
-}
38
-
39
pub fn decode_error_kind(er: abi::ER) -> ErrorKind {
40
match er {
41
// Success
library/std/src/sys/solid/mod.rs
@@ -74,7 +74,7 @@ pub fn unsupported_err() -> crate::io::Error {
74
75
#[inline]
76
pub fn is_interrupted(code: i32) -> bool {
77
- error::is_interrupted(code)
+ net::is_interrupted(code)
78
79
80
pub fn decode_error_kind(code: i32) -> crate::io::ErrorKind {
0 commit comments