We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13f6d7e + 4027629 commit f5cf967Copy full SHA for f5cf967
library/std/src/net/udp.rs
@@ -39,7 +39,7 @@ use crate::time::Duration;
39
///
40
/// fn main() -> std::io::Result<()> {
41
/// {
42
-/// let mut socket = UdpSocket::bind("127.0.0.1:34254")?;
+/// let socket = UdpSocket::bind("127.0.0.1:34254")?;
43
44
/// // Receives a single datagram message on the socket. If `buf` is too small to hold
45
/// // the message, it will be cut off.
0 commit comments