Skip to content

Commit

Permalink
use_file: Fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Richey <joerichey@google.com>
  • Loading branch information
josephlr committed Jan 3, 2020
1 parent 5485481 commit 733359d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/use_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn getrandom_inner(dest: &mut [u8]) -> Result<(), Error> {
Ok(())
}

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

0 comments on commit 733359d

Please sign in to comment.