Skip to content

Commit

Permalink
Fix comment and further uses of core::error::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Nov 25, 2024
1 parent 88fce45 commit db2b3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand_core/src/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl core::fmt::Display for OsError {
}
}

// NOTE: this should not require std; see getrandom#545
// NOTE: this can use core::error::Error from rustc 1.81.0
#[cfg(feature = "std")]
impl std::error::Error for OsError {
#[inline]
Expand Down

0 comments on commit db2b3f7

Please sign in to comment.