Skip to content

Commit 88fce45

Browse files
committed
Don't use core::error::Error
1 parent 15e40c6 commit 88fce45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rand_core/src/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl core::fmt::Display for OsError {
6060

6161
// NOTE: this should not require std; see getrandom#545
6262
#[cfg(feature = "std")]
63-
impl core::error::Error for OsError {
63+
impl std::error::Error for OsError {
6464
#[inline]
6565
fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
6666
core::error::Error::source(&self.0)

0 commit comments

Comments
 (0)