Просмотр исходного кода

[Receipt] clippy warning fixed

Slava Barinov 1 год назад
Родитель
Сommit
7489ee0029
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/receipt.rs

+ 1 - 1
src/receipt.rs

@@ -54,7 +54,7 @@ struct Ticket {
 
 
 mod custom_date_format {
 mod custom_date_format {
     use chrono::{DateTime, NaiveDateTime, Utc};
     use chrono::{DateTime, NaiveDateTime, Utc};
-    use serde::{self, Deserialize, Deserializer};
+    use serde::{Deserialize, Deserializer};
 
 
     /// The format seems alike to RFC3339 but is not compliant
     /// The format seems alike to RFC3339 but is not compliant
     const FORMAT: &str = "%Y-%m-%dT%H:%M:%S";
     const FORMAT: &str = "%Y-%m-%dT%H:%M:%S";