about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-03-26 19:40:31 +1100
committerGitHub <noreply@github.com>2025-03-26 19:40:31 +1100
commit46a40be2d2e301d9db4f09f098a922c62feb7f04 (patch)
tree2540c81f5d124c89fa97c8eb77697e21c22a7551
parent33c90235a1957c2fb8c302b5824a7e08520e0499 (diff)
parenta475f5d18169c5333a97d9a5583be61f249b8f22 (diff)
downloadrust-46a40be2d2e301d9db4f09f098a922c62feb7f04.tar.gz
rust-46a40be2d2e301d9db4f09f098a922c62feb7f04.zip
Rollup merge of #138967 - thaliaarchi:error-typo, r=Noratrieb
Fix typo in error message

Fix typo from https://github.com/rust-lang/rust/pull/137809.

r? `@Noratrieb`
-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")),
         }
     }