We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e40c6 commit 88fce45Copy full SHA for 88fce45
rand_core/src/os.rs
@@ -60,7 +60,7 @@ impl core::fmt::Display for OsError {
60
61
// NOTE: this should not require std; see getrandom#545
62
#[cfg(feature = "std")]
63
-impl core::error::Error for OsError {
+impl std::error::Error for OsError {
64
#[inline]
65
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
66
core::error::Error::source(&self.0)
0 commit comments