Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
1682: [skip ci] spellcheck a comment for sethostname r=rtzoeller a=asomers



Co-authored-by: Alan Somers <asomers@gmail.com>
  • Loading branch information
bors[bot] and asomers committed Mar 20, 2022
2 parents 1acf27c + 70f614f commit b2ff9d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unistd.rs
Expand Up @@ -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.
Expand Down

0 comments on commit b2ff9d2

Please sign in to comment.