Move commands.rs to commands/mod.rs; move migrate_cli.rs.

This commit is contained in:
projectmoon 2021-05-21 14:35:56 +00:00
parent e73ad118b2
commit de63fd914e
4 changed files with 1 additions and 5 deletions

View File

@ -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"

View File

@ -27,7 +27,7 @@ pub enum DiceParsingError {
}
impl From<std::num::ParseIntError> for DiceParsingError {
fn from(_error: std::num::ParseIntError) -> Self {
fn from(_: std::num::ParseIntError) -> Self {
DiceParsingError::ConversionError
}
}