We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
core::error::Error
std
1 parent 76e5998 commit 4d472d7Copy full SHA for 4d472d7
src/error.rs
@@ -53,5 +53,6 @@ impl Display for Error {
53
}
54
55
#[cfg(feature = "std")]
56
-// TODO expose to no_std when error_in_core stabilized (https://github.com/rust-lang/rust/issues/103765)
57
impl std::error::Error for Error {}
+#[cfg(not(feature = "std"))]
58
+impl core::error::Error for Error {}
0 commit comments