From 733359dba70b458a41b4407e51081c5b1ffa9a09 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Thu, 2 Jan 2020 21:28:33 -0800 Subject: [PATCH] use_file: Fix typos Signed-off-by: Joe Richey --- src/use_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/use_file.rs b/src/use_file.rs index f9cb4794..dc00e646 100644 --- a/src/use_file.rs +++ b/src/use_file.rs @@ -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 {