Browse Source

警告去除

skyffire 1 year ago
parent
commit
da0f257629
1 changed files with 1 additions and 1 deletions
  1. 1 1
      strategy/src/core.rs

+ 1 - 1
strategy/src/core.rs

@@ -7,7 +7,7 @@ use std::sync::atomic::{AtomicBool, Ordering};
 use std::time::Duration;
 use chrono::{Utc};
 use rust_decimal::{Decimal};
-use rust_decimal::prelude::{ToPrimitive, Zero};
+use rust_decimal::prelude::{ToPrimitive};
 use rust_decimal_macros::dec;
 use tokio::spawn;
 use tokio::sync::mpsc::{Sender};