Skip to content

Commit db2b3f7

Browse files
committed
Fix comment and further uses of core::error::Error
1 parent 88fce45 commit db2b3f7

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
@@ -58,7 +58,7 @@ impl core::fmt::Display for OsError {
5858
}
5959
}
6060

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

0 commit comments

Comments
 (0)