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"]
|
keywords = ["games", "dice", "matrix", "bot"]
|
||||||
categories = ["games"]
|
categories = ["games"]
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "dicebot-migrate"
|
|
||||||
path = "src/migrate_cli.rs"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
tracing-subscriber = "0.2"
|
tracing-subscriber = "0.2"
|
||||||
|
|
|
@ -27,7 +27,7 @@ pub enum DiceParsingError {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<std::num::ParseIntError> for DiceParsingError {
|
impl From<std::num::ParseIntError> for DiceParsingError {
|
||||||
fn from(_error: std::num::ParseIntError) -> Self {
|
fn from(_: std::num::ParseIntError) -> Self {
|
||||||
DiceParsingError::ConversionError
|
DiceParsingError::ConversionError
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue