diff --git a/src/main.rs b/src/main.rs index 09169d9..b2e276b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ fn main () { None => (), Some (state::StepOutput::ChunkReturned (x)) => { dbg! (x); - break; + return; }, } continue; @@ -105,7 +105,7 @@ fn main () { None => (), Some (state::StepOutput::ChunkReturned (x)) => { dbg! (x); - break; + return; }, } }