Skip to content

Commit 8ec453f

Browse files
committed
Remove redundant annotations
1 parent 538e90c commit 8ec453f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/rngs/adapter/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ mod read;
1212
mod reseeding;
1313

1414
pub use self::read::{ReadError, ReadRng};
15-
#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
1615
pub use self::reseeding::ReseedingRng;

src/rngs/adapter/read.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ use rand_core::{impls, Error, RngCore};
4343
///
4444
/// [`OsRng`]: crate::rngs::OsRng
4545
/// [`try_fill_bytes`]: RngCore::try_fill_bytes
46-
#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
4746
#[derive(Debug)]
4847
pub struct ReadRng<R> {
4948
reader: R,
@@ -86,7 +85,6 @@ impl<R: Read> RngCore for ReadRng<R> {
8685
}
8786

8887
/// `ReadRng` error type
89-
#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
9088
#[derive(Debug)]
9189
pub struct ReadError(std::io::Error);
9290

0 commit comments

Comments
 (0)