Add clippy allow

This commit is contained in:
Jeff 2024-07-13 07:56:33 -04:00
parent 92f1d2ad0f
commit c80f8d8a53

View File

@ -458,6 +458,7 @@ impl Bot {
/// 6. If the total value of my offer is greater than the total value of their offer:
/// 1. If I am offering coins, remove some to balance.
/// 2. If I am not offering coins, add theirs to balance.
#[allow(clippy::comparison_chain)]
fn handle_trade(&mut self, trade: PendingTrade) -> Result<(), String> {
if trade.is_empty_trade() {
return Ok(());