File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ fn test_incremental_file(io_threads: &str) -> Result<()> {
5050 for work in io_executor. completed ( ) . collect :: < Vec < _ > > ( ) {
5151 match work {
5252 super :: CompletedIo :: Chunk ( size) => written += size,
53- super :: CompletedIo :: Item ( item) => unreachable ! ( format! ( "{:?}" , item) ) ,
53+ super :: CompletedIo :: Item ( item) => unreachable ! ( "{:?}" , item) ,
5454 }
5555 }
5656 if written == 20 {
@@ -117,7 +117,7 @@ fn test_complete_file(io_threads: &str) -> Result<()> {
117117 for work in io_executor. execute ( item) . collect :: < Vec < _ > > ( ) {
118118 // The file might complete immediately
119119 match work {
120- super :: CompletedIo :: Chunk ( size) => unreachable ! ( format! ( "{:?}" , size) ) ,
120+ super :: CompletedIo :: Chunk ( size) => unreachable ! ( "{:?}" , size) ,
121121 super :: CompletedIo :: Item ( item) => {
122122 check_item ( item) ;
123123 finished = true ;
@@ -128,7 +128,7 @@ fn test_complete_file(io_threads: &str) -> Result<()> {
128128 loop {
129129 for work in io_executor. completed ( ) . collect :: < Vec < _ > > ( ) {
130130 match work {
131- super :: CompletedIo :: Chunk ( size) => unreachable ! ( format! ( "{:?}" , size) ) ,
131+ super :: CompletedIo :: Chunk ( size) => unreachable ! ( "{:?}" , size) ,
132132 super :: CompletedIo :: Item ( item) => {
133133 check_item ( item) ;
134134 finished = true ;
You can’t perform that action at this time.
0 commit comments