about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorThalia Archibald <thalia@archibald.dev>2025-03-16 16:47:26 -0700
committerThalia Archibald <thalia@archibald.dev>2025-03-25 23:37:22 -0700
commita475f5d18169c5333a97d9a5583be61f249b8f22 (patch)
tree66f793de22e22ab89c2c7de5c3418e1e9d57eb2c /library/std
parent6e8abb5ec65ac50f934df6cf0e8f248dc8e8805e (diff)
downloadrust-a475f5d18169c5333a97d9a5583be61f249b8f22.tar.gz
rust-a475f5d18169c5333a97d9a5583be61f249b8f22.zip
Fix typo in error message
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/sys/net/connection/xous/tcpstream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/net/connection/xous/tcpstream.rs b/library/std/src/sys/net/connection/xous/tcpstream.rs
index 283b1fe9a33..e8aea8b706a 100644
--- a/library/std/src/sys/net/connection/xous/tcpstream.rs
+++ b/library/std/src/sys/net/connection/xous/tcpstream.rs
@@ -324,7 +324,7 @@ impl TcpStream {
                 }
                 Ok(SocketAddr::V6(SocketAddrV6::new(new_addr.into(), self.local_port, 0, 0)))
             }
-            _ => Err(io::const_error!(io::ErrorKind::InvalidInput, "tnternal error")),
+            _ => Err(io::const_error!(io::ErrorKind::InvalidInput, "internal error")),
         }
     }