We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec2ed1d + 8e05f97 commit e3a4f3fCopy full SHA for e3a4f3f
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