We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445a438 commit 70f614fCopy full SHA for 70f614f
src/unistd.rs
@@ -943,8 +943,8 @@ feature! {
943
///
944
/// Given a name, attempt to update the system host name to the given string.
945
/// On some systems, the host name is limited to as few as 64 bytes. An error
946
-/// will be return if the name is not valid or the current process does not have
947
-/// 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.
948
#[cfg(not(target_os = "redox"))]
949
pub fn sethostname<S: AsRef<OsStr>>(name: S) -> Result<()> {
950
// Handle some differences in type of the len arg across platforms.
0 commit comments