File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,7 @@ impl UdpSocket {
177177
178178 /// Sends data on the socket to the given address. On success, returns the
179179 /// number of bytes written. Note that the operating system may refuse
180- /// buffers larger than 65507. However, partial writes are not possible
181- /// until buffer sizes above `i32::MAX`.
180+ /// buffers larger than 65507.
182181 ///
183182 /// Address type can be any implementor of [`ToSocketAddrs`] trait. See its
184183 /// documentation for concrete examples.
@@ -682,8 +681,7 @@ impl UdpSocket {
682681
683682 /// Sends data on the socket to the remote address to which it is connected.
684683 /// On success, returns the number of bytes written. Note that the operating
685- /// system may refuse buffers larger than 65507. However, partial writes are
686- /// not possible until buffer sizes above `i32::MAX`.
684+ /// system may refuse buffers larger than 65507.
687685 ///
688686 /// [`UdpSocket::connect`] will connect this socket to a remote address. This
689687 /// method will fail if the socket is not connected.
You can’t perform that action at this time.
0 commit comments