List rooms command #77

Manually merged
projectmoon merged 3 commits from list-rooms-command into master 2021-05-28 13:20:54 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 589d0e0dbf - Show all commits

View File

@ -14,10 +14,10 @@ impl From<ListRoomsCommand> for Box<dyn Command> {
} }
} }
impl TryFrom<&str> for ListRoomsCommand { impl TryFrom<String> for ListRoomsCommand {
type Error = BotError; type Error = BotError;
fn try_from(input: &str) -> Result<Self, Self::Error> { fn try_from(_: String) -> Result<Self, Self::Error> {
Ok(ListRoomsCommand) Ok(ListRoomsCommand)
} }
} }