Skip to content

Commit 6637a60

Browse files
committed
Fix docs comment for FILE_PATH
1 parent efa18b8 commit 6637a60

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/use_file.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ use core::{
99
sync::atomic::{AtomicUsize, Ordering::Relaxed},
1010
};
1111

12-
//! For all platforms, we use `/dev/urandom` rather than `/dev/random`.
13-
//! For more information see the linked man pages in lib.rs.
14-
//! - On Linux, "/dev/urandom is preferred and sufficient in all use cases".
15-
//! - On Redox, only /dev/urandom is provided.
16-
//! - On AIX, /dev/urandom will "provide cryptographically secure output".
17-
//! - On Haiku and QNX Neutrino they are identical.
12+
/// For all platforms, we use `/dev/urandom` rather than `/dev/random`.
13+
/// For more information see the linked man pages in lib.rs.
14+
/// - On Linux, "/dev/urandom is preferred and sufficient in all use cases".
15+
/// - On Redox, only /dev/urandom is provided.
16+
/// - On AIX, /dev/urandom will "provide cryptographically secure output".
17+
/// - On Haiku and QNX Neutrino they are identical.
1818
const FILE_PATH: &str = "/dev/urandom\0";
1919
const FD_UNINIT: usize = usize::max_value();
2020

0 commit comments

Comments
 (0)