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

Per rustc 1.27.0, we can ensure nested results are used #418

Merged
merged 1 commit into from
Jun 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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