Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Per rustc 1.27.0, we can ensure nested results are used
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed Jun 23, 2018
1 parent 164bf19 commit 737dc1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 737dc1d

Please sign in to comment.