clippy
This commit is contained in:
parent
59659bdbf8
commit
46cbccca4e
3 changed files with 6 additions and 6 deletions
8
Cargo.lock
generated
8
Cargo.lock
generated
|
@ -605,18 +605,18 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "enum-iterator"
|
name = "enum-iterator"
|
||||||
version = "0.7.0"
|
version = "0.8.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6"
|
checksum = "2953d1df47ac0eb70086ccabf0275aa8da8591a28bd358ee2b52bd9f9e3ff9e9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"enum-iterator-derive",
|
"enum-iterator-derive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "enum-iterator-derive"
|
name = "enum-iterator-derive"
|
||||||
version = "0.7.0"
|
version = "0.8.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c134c37760b27a871ba422106eedbb8247da973a09e82558bf26d619c882b159"
|
checksum = "8958699f9359f0b04e691a13850d48b7de329138023876d07cbd024c2c820598"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
|
|
@ -8,7 +8,7 @@ include = ["src/main.rs"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
clap = { version = "3", features = ["derive", "cargo"] }
|
clap = { version = "3", features = ["derive", "cargo"] }
|
||||||
enum-iterator = "0.7"
|
enum-iterator = "0.8"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
toml = "0.5"
|
toml = "0.5"
|
||||||
|
|
|
@ -311,7 +311,7 @@ async fn help(room: Joined) -> Result<()> {
|
||||||
msg.push_str(&command.to_string());
|
msg.push_str(&command.to_string());
|
||||||
msg.push_str(" - ");
|
msg.push_str(" - ");
|
||||||
msg.push_str(command.help_text());
|
msg.push_str(command.help_text());
|
||||||
msg.push_str("\n");
|
msg.push('\n');
|
||||||
}
|
}
|
||||||
let content = RoomMessageEventContent::notice_plain(msg);
|
let content = RoomMessageEventContent::notice_plain(msg);
|
||||||
room.send(content, None).await?;
|
room.send(content, None).await?;
|
||||||
|
|
Loading…
Reference in a new issue