aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornecrashter2022-04-23 23:08:53 +0300
committerYigit Sever2022-04-23 23:12:09 +0300
commit7e23d86ee71daabb9df49623d1c5f9625fd9546e (patch)
treee65bc4b048dc2c3a0ded58cc7bcaac74cfc614a1
parent0a190cdde68f533086e029337fde07b74cd7147d (diff)
downloadgradecoin-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>
-rw-r--r--src/config.rs1
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)]
11pub struct BotConfig { 12pub 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,