diff --git a/src/runtime/communication.rs b/src/runtime/communication.rs index 4c6736284482f2f6f18bf5e395e6ce1f5c9c181a..a0014d465216bf21d512db6b77c654d77a4fb413 100644 --- a/src/runtime/communication.rs +++ b/src/runtime/communication.rs @@ -90,7 +90,7 @@ impl Connector { match phased { ConnectorPhased::Setup { .. } => Err(NotConnected), ConnectorPhased::Communication(comm) => { - let batch = comm.native_batches.last_mut().unwrap(); // length >= invariant + let batch = comm.native_batches.last_mut().unwrap(); // length >= 1 is invariant Ok(batch) } }