diff options
author | Alan Somers <asomers@gmail.com> | 2022-03-19 22:11:20 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-03-19 22:13:46 -0600 |
commit | 70f614fbd6a8c17c0b05e3e65f282c8dbbd73abe (patch) | |
tree | 269db686e132c4be853d486d1ea0a12dd715922d | |
parent | 445a4387ada6e71e226aaf9d6087174bd5102843 (diff) | |
download | nix-70f614fbd6a8c17c0b05e3e65f282c8dbbd73abe.zip |
[skip ci] spellcheck a comment for sethostname
-rw-r--r-- | src/unistd.rs | 4 |
1 files 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<S: AsRef<OsStr>>(name: S) -> Result<()> { // Handle some differences in type of the len arg across platforms. |