From 70f614fbd6a8c17c0b05e3e65f282c8dbbd73abe Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 19 Mar 2022 22:11:20 -0600 Subject: [skip ci] spellcheck a comment for sethostname --- src/unistd.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unistd.rs b/src/unistd.rs index 8da4f932..272fb0cd 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -943,8 +943,8 @@ feature! { /// /// Given a name, attempt to update the system host name to the given string. /// On some systems, the host name is limited to as few as 64 bytes. An error -/// will be return if the name is not valid or the current process does not have -/// permissions to update the host name. +/// will be returned if the name is not valid or the current process does not +/// have permissions to update the host name. #[cfg(not(target_os = "redox"))] pub fn sethostname>(name: S) -> Result<()> { // Handle some differences in type of the len arg across platforms. -- cgit v1.2.3