Move commands.rs to commands/mod.rs; move migrate_cli.rs.
This commit is contained in:
parent
e73ad118b2
commit
de63fd914e
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue