File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ mod tests {
102102 let messages_read1 = messages_read. clone ( ) ;
103103
104104 let done_reading = read_stream. for_each ( move |m| match m {
105- Err ( e) => panic ! ( "read error: {:?}" , e ) ,
105+ Err ( e) => panic ! ( "read error: {e :?}" ) ,
106106 Ok ( msg) => {
107107 let address_book = msg. get_root :: < address_book:: Reader > ( ) . unwrap ( ) ;
108108 read_address_book ( address_book) ;
@@ -144,7 +144,7 @@ mod tests {
144144 let mut pool = futures:: executor:: LocalPool :: new ( ) ;
145145 let ( stream0, stream1) = async_byte_channel:: channel ( ) ;
146146 let f0 = serialize:: write_message ( stream0, message)
147- . map_err ( |e| panic ! ( "write error {:?}" , e ) )
147+ . map_err ( |e| panic ! ( "write error {e :?}" ) )
148148 . map ( |_| ( ) ) ;
149149 let f1 = serialize:: try_read_message ( stream1, capnp:: message:: ReaderOptions :: new ( ) )
150150 . and_then ( |maybe_message_reader| match maybe_message_reader {
You can’t perform that action at this time.
0 commit comments