Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Jun 1, 2024
1 parent 3b46440 commit 6d01698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautilus_core/accounting/src/account/cash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ mod tests {
.unwrap();
let position = Position::new(&audusd_sim, fill).unwrap();
let pnls = cash_account_million_usd
.calculate_pnls(audusd_sim.clone(), fill, Some(position))
.calculate_pnls(audusd_sim, fill, Some(position))
.unwrap();
assert_eq!(pnls, vec![Money::from("-800000 USD")]);
}
Expand Down

0 comments on commit 6d01698

Please sign in to comment.