@@ -159,7 +159,7 @@ impl UdpSocket {
159
159
. poll_write_with ( cx, |inner| inner. send_to ( buf, & addr) )
160
160
} )
161
161
. await
162
- . context ( || format ! ( "Could not send packet to {}" , addr) )
162
+ . context ( || format ! ( "could not send packet to {}" , addr) )
163
163
}
164
164
165
165
/// Receives data from the socket.
@@ -190,7 +190,7 @@ impl UdpSocket {
190
190
. context ( || {
191
191
use std:: fmt:: Write ;
192
192
193
- let mut error = String :: from ( "Could not receive data on " ) ;
193
+ let mut error = String :: from ( "could not receive data on " ) ;
194
194
if let Ok ( addr) = self . local_addr ( ) {
195
195
let _ = write ! ( & mut error, "{}" , addr) ;
196
196
} else {
@@ -277,7 +277,7 @@ impl UdpSocket {
277
277
. context ( || {
278
278
use std:: fmt:: Write ;
279
279
280
- let mut error = String :: from ( "Could not send data on " ) ;
280
+ let mut error = String :: from ( "could not send data on " ) ;
281
281
if let Ok ( addr) = self . local_addr ( ) {
282
282
let _ = write ! ( & mut error, "{}" , addr) ;
283
283
} else {
@@ -312,7 +312,7 @@ impl UdpSocket {
312
312
. context ( || {
313
313
use std:: fmt:: Write ;
314
314
315
- let mut error = String :: from ( "Could not receive data on " ) ;
315
+ let mut error = String :: from ( "could not receive data on " ) ;
316
316
if let Ok ( addr) = self . local_addr ( ) {
317
317
let _ = write ! ( & mut error, "{}" , addr) ;
318
318
} else {
0 commit comments