Per rustc 1.27.0, we can ensure nested results are used
This commit is contained in:
parent
164bf19b36
commit
737dc1ddde
|
@ -252,6 +252,7 @@ impl Bank {
|
|||
}
|
||||
|
||||
/// Process a batch of transactions.
|
||||
#[must_use]
|
||||
pub fn process_transactions(&self, txs: Vec<Transaction>) -> Vec<Result<Transaction>> {
|
||||
let bals = &mut self.balances.write().unwrap();
|
||||
debug!("processing Transactions {}", txs.len());
|
||||
|
|
Loading…
Reference in New Issue