diff options
| author | necrashter | 2022-04-23 23:02:13 +0300 |
|---|---|---|
| committer | Yigit Sever | 2022-04-23 23:12:09 +0300 |
| commit | 0a190cdde68f533086e029337fde07b74cd7147d (patch) | |
| tree | db70bdc5aa8a1bd5a5f99500aa84f2e36ac25d26 /src/config.rs | |
| parent | 8f37c8e2fb2914bd11f35ac2c57a22393eab894f (diff) | |
| download | gradecoin-0a190cdde68f533086e029337fde07b74cd7147d.tar.gz gradecoin-0a190cdde68f533086e029337fde07b74cd7147d.tar.bz2 gradecoin-0a190cdde68f533086e029337fde07b74cd7147d.zip | |
Comply with Rustfmt
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 0584c31..297e587 100644 --- a/src/config.rs +++ b/src/config.rs | |||
| @@ -6,7 +6,6 @@ use log::{error, info}; | |||
| 6 | use serde::{Deserialize, Serialize}; | 6 | use serde::{Deserialize, Serialize}; |
| 7 | use std::collections::HashMap; | 7 | use std::collections::HashMap; |
| 8 | 8 | ||
| 9 | |||
| 10 | /// Configuration struct for a single bot | 9 | /// Configuration struct for a single bot |
| 11 | #[derive(Debug, Serialize, Deserialize, Clone, Default)] | 10 | #[derive(Debug, Serialize, Deserialize, Clone, Default)] |
| 12 | pub struct BotConfig { | 11 | pub struct BotConfig { |
| @@ -14,7 +13,6 @@ pub struct BotConfig { | |||
| 14 | pub starting_balance: u16, | 13 | pub starting_balance: u16, |
| 15 | } | 14 | } |
| 16 | 15 | ||
| 17 | |||
| 18 | /// Configuration for a single network | 16 | /// Configuration for a single network |
| 19 | #[derive(Debug, Serialize, Deserialize, Clone, Default)] | 17 | #[derive(Debug, Serialize, Deserialize, Clone, Default)] |
| 20 | pub struct Config { | 18 | pub struct Config { |
