Skip to content

Commit 733359d

Browse files
committed
use_file: Fix typos
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 5485481 commit 733359d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/use_file.rs

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

44-
// Returns the field descriptor for the device file used to retrieve random
44+
// Returns the file descriptor for the device file used to retrieve random
4545
// numbers. The file will be opened exactly once. All successful calls will
4646
// return the same file descriptor. This file descriptor is never closed.
4747
fn get_rng_fd() -> Result<libc::c_int, Error> {

0 commit comments

Comments
 (0)