diff --git a/Cargo.toml b/Cargo.toml index ffb2ea7..7d5bacc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,10 +10,6 @@ repository = 'https://git.agnos.is/projectmoon/matrix-dicebot' keywords = ["games", "dice", "matrix", "bot"] categories = ["games"] -[[bin]] -name = "dicebot-migrate" -path = "src/migrate_cli.rs" - [dependencies] log = "0.4" tracing-subscriber = "0.2" diff --git a/src/migrate_cli.rs b/src/bin/dicebot_migrate.rs similarity index 100% rename from src/migrate_cli.rs rename to src/bin/dicebot_migrate.rs diff --git a/src/commands.rs b/src/commands/mod.rs similarity index 100% rename from src/commands.rs rename to src/commands/mod.rs diff --git a/src/parser.rs b/src/parser.rs index e4b9f1a..389515b 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -27,7 +27,7 @@ pub enum DiceParsingError { } impl From for DiceParsingError { - fn from(_error: std::num::ParseIntError) -> Self { + fn from(_: std::num::ParseIntError) -> Self { DiceParsingError::ConversionError } }