Skip to content

Commit 081166f

Browse files
committed
Fixing inaccurate function description in udp::recv
1 parent fee3b6f commit 081166f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/udp/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ impl UdpSocket {
288288

289289
/// Receives data from the socket.
290290
///
291-
/// On success, returns the number of bytes read and the origin.
291+
/// On success, returns the number of bytes read.
292292
///
293293
/// # Examples
294294
///

0 commit comments

Comments
 (0)