From<String> for ListRoomsCommand
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
projectmoon 2021-05-27 15:56:15 +00:00
parent 892ccf73e3
commit 589d0e0dbf
1 changed files with 2 additions and 2 deletions

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;
fn try_from(input: &str) -> Result<Self, Self::Error> {
fn try_from(_: String) -> Result<Self, Self::Error> {
Ok(ListRoomsCommand)
}
}