@@ -159,7 +159,7 @@ impl UdpSocket {
159159 . poll_write_with ( cx, |inner| inner. send_to ( buf, & addr) )
160160 } )
161161 . await
162- . context ( || format ! ( "Could not send packet to {}" , addr) )
162+ . context ( || format ! ( "could not send packet to {}" , addr) )
163163 }
164164
165165 /// Receives data from the socket.
@@ -190,7 +190,7 @@ impl UdpSocket {
190190 . context ( || {
191191 use std:: fmt:: Write ;
192192
193- let mut error = String :: from ( "Could not receive data on " ) ;
193+ let mut error = String :: from ( "could not receive data on " ) ;
194194 if let Ok ( addr) = self . local_addr ( ) {
195195 let _ = write ! ( & mut error, "{}" , addr) ;
196196 } else {
@@ -277,7 +277,7 @@ impl UdpSocket {
277277 . context ( || {
278278 use std:: fmt:: Write ;
279279
280- let mut error = String :: from ( "Could not send data on " ) ;
280+ let mut error = String :: from ( "could not send data on " ) ;
281281 if let Ok ( addr) = self . local_addr ( ) {
282282 let _ = write ! ( & mut error, "{}" , addr) ;
283283 } else {
@@ -312,7 +312,7 @@ impl UdpSocket {
312312 . context ( || {
313313 use std:: fmt:: Write ;
314314
315- let mut error = String :: from ( "Could not receive data on " ) ;
315+ let mut error = String :: from ( "could not receive data on " ) ;
316316 if let Ok ( addr) = self . local_addr ( ) {
317317 let _ = write ! ( & mut error, "{}" , addr) ;
318318 } else {
0 commit comments