Skip to content

Commit b2ff9d2

Browse files
bors[bot]asomers
andauthored
Merge #1682
1682: [skip ci] spellcheck a comment for sethostname r=rtzoeller a=asomers Co-authored-by: Alan Somers <[email protected]>
2 parents 1acf27c + 70f614f commit b2ff9d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unistd.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -943,8 +943,8 @@ feature! {
943943
///
944944
/// Given a name, attempt to update the system host name to the given string.
945945
/// 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.
946+
/// will be returned if the name is not valid or the current process does not
947+
/// have permissions to update the host name.
948948
#[cfg(not(target_os = "redox"))]
949949
pub fn sethostname<S: AsRef<OsStr>>(name: S) -> Result<()> {
950950
// Handle some differences in type of the len arg across platforms.

0 commit comments

Comments
 (0)