diff options
author | necrashter | 2022-04-23 23:08:53 +0300 |
---|---|---|
committer | Yigit Sever | 2022-04-23 23:12:09 +0300 |
commit | 7e23d86ee71daabb9df49623d1c5f9625fd9546e (patch) | |
tree | e65bc4b048dc2c3a0ded58cc7bcaac74cfc614a1 /src/config.rs | |
parent | 0a190cdde68f533086e029337fde07b74cd7147d (diff) | |
download | gradecoin-7e23d86ee71daabb9df49623d1c5f9625fd9546e.tar.gz gradecoin-7e23d86ee71daabb9df49623d1c5f9625fd9546e.tar.bz2 gradecoin-7e23d86ee71daabb9df49623d1c5f9625fd9546e.zip |
Suppress clippy warning: module_name_repetition
Co-authored-by: Yigit Sever <yigit@ceng.metu.edu.tr>
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs index 297e587..9986970 100644 --- a/src/config.rs +++ b/src/config.rs | |||
@@ -8,6 +8,7 @@ use std::collections::HashMap; | |||
8 | 8 | ||
9 | /// Configuration struct for a single bot | 9 | /// Configuration struct for a single bot |
10 | #[derive(Debug, Serialize, Deserialize, Clone, Default)] | 10 | #[derive(Debug, Serialize, Deserialize, Clone, Default)] |
11 | #[allow(clippy::module_name_repetitions)] | ||
11 | pub struct BotConfig { | 12 | pub struct BotConfig { |
12 | /// The initial balance of this bot. | 13 | /// The initial balance of this bot. |
13 | pub starting_balance: u16, | 14 | pub starting_balance: u16, |