This commit is contained in:
Edward Shen 2022-05-09 01:25:49 -07:00
parent 59659bdbf8
commit 46cbccca4e
Signed by: edward
GPG key ID: 19182661E818369F
3 changed files with 6 additions and 6 deletions

8
Cargo.lock generated
View file

@ -605,18 +605,18 @@ dependencies = [
[[package]]
name = "enum-iterator"
version = "0.7.0"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4eeac5c5edb79e4e39fe8439ef35207780a11f69c52cbe424ce3dfad4cb78de6"
checksum = "2953d1df47ac0eb70086ccabf0275aa8da8591a28bd358ee2b52bd9f9e3ff9e9"
dependencies = [
"enum-iterator-derive",
]
[[package]]
name = "enum-iterator-derive"
version = "0.7.0"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c134c37760b27a871ba422106eedbb8247da973a09e82558bf26d619c882b159"
checksum = "8958699f9359f0b04e691a13850d48b7de329138023876d07cbd024c2c820598"
dependencies = [
"proc-macro2",
"quote",

View file

@ -8,7 +8,7 @@ include = ["src/main.rs"]
[dependencies]
anyhow = "1"
clap = { version = "3", features = ["derive", "cargo"] }
enum-iterator = "0.7"
enum-iterator = "0.8"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
toml = "0.5"

View file

@ -311,7 +311,7 @@ async fn help(room: Joined) -> Result<()> {
msg.push_str(&command.to_string());
msg.push_str(" - ");
msg.push_str(command.help_text());
msg.push_str("\n");
msg.push('\n');
}
let content = RoomMessageEventContent::notice_plain(msg);
room.send(content, None).await?;