Fix misspelled words

This commit is contained in:
Arash Hatami
2021-11-14 18:52:05 +03:30
parent 96208e9fef
commit 7f13edd14a
10 changed files with 26 additions and 25 deletions

View File

@@ -29,7 +29,7 @@ fn new_socket(addr: SocketAddr, reuse: bool) -> Result<Socket, std::io::Error> {
if reuse {
// windows has no reuse_port, but it's reuse_address
// almost equals to unix's reuse_port + reuse_address,
// though may introduce nondeterministic bahavior
// though may introduce nondeterministic behavior
#[cfg(unix)]
socket.set_reuse_port(true)?;
socket.set_reuse_address(true)?;