Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Jan 11, 2022
1 parent 386d25e commit 6395e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15571,7 +15571,7 @@ pub(crate) mod tests {

// Test: Subtraction saturates at 0
{
let data_len = 567 as i64;
let data_len = 567_i64;
bank.store_accounts_data_len(data_len as u64);
bank.update_accounts_data_len(-(data_len + 1));
assert_eq!(bank.load_accounts_data_len(), 0);
Expand Down

0 comments on commit 6395e4d

Please sign in to comment.