chiark / gitweb /
client: wrap a line
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Aug 2021 00:12:04 +0000 (01:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Aug 2021 00:12:04 +0000 (01:12 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/client.rs

index 452873305947620ce07156a8a137a15cbbfe5e0c..646006c36b39db778b7560b2e6c363beb456bf5a 100644 (file)
@@ -247,7 +247,10 @@ async fn run_client<C:HCC>(
         {
           while let Some(TxQueued { data, expires }) = tx_queue.pop_front() {
             match upbound.add(ic.max_batch_up, data.into()/*todo:504*/) {
-              Err(data) => { tx_queue.push_front(TxQueued { data: data.into(), expires }); break; }
+              Err(data) => {
+                tx_queue.push_front(TxQueued { data: data.into(), expires });
+                break;
+              }
               Ok(()) => { },
             }
           }