diff --git a/src/bot.rs b/src/bot.rs index fdb5175..7217d9c 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -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(());