File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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.
1818const FILE_PATH : & str = "/dev/urandom\0 " ;
1919const FD_UNINIT : usize = usize:: max_value ( ) ;
2020
You can’t perform that action at this time.
0 commit comments