Skip to content

Commit 9110af5

Browse files
authored
Fix get_rng_fd comment typo (#240)
1 parent ec445bb commit 9110af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/use_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub fn getrandom_inner(dest: &mut [u8]) -> Result<(), Error> {
4545
}
4646

4747
// Returns the file descriptor for the device file used to retrieve random
48-
// bytes. The file will be opened exactly once. All successful calls will
48+
// bytes. The file will be opened exactly once. All subsequent calls will
4949
// return the same file descriptor. This file descriptor is never closed.
5050
fn get_rng_fd() -> Result<libc::c_int, Error> {
5151
static FD: AtomicUsize = AtomicUsize::new(LazyUsize::UNINIT);

0 commit comments

Comments
 (0)