Fix doc style comment according to Rust; VSCode added line breaks
This commit is contained in:
parent
7857da8a0b
commit
b6c9582cf4
2 changed files with 13 additions and 7 deletions
|
@ -1530,10 +1530,14 @@ impl Rooms {
|
|||
}
|
||||
"unregister_appservice" => {
|
||||
if args.len() == 1 {
|
||||
db.admin.send(AdminCommand::UnregisterAppservice(args[0].to_owned()));
|
||||
db.admin.send(AdminCommand::UnregisterAppservice(
|
||||
args[0].to_owned(),
|
||||
));
|
||||
} else {
|
||||
db.admin.send(AdminCommand::SendMessage(
|
||||
RoomMessageEventContent::text_plain("Missing appservice identifier"),
|
||||
RoomMessageEventContent::text_plain(
|
||||
"Missing appservice identifier",
|
||||
),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue