diff --git a/src/commands/rooms.rs b/src/commands/rooms.rs index ccbb09a..2b85691 100644 --- a/src/commands/rooms.rs +++ b/src/commands/rooms.rs @@ -14,10 +14,10 @@ impl From for Box { } } -impl TryFrom<&str> for ListRoomsCommand { +impl TryFrom for ListRoomsCommand { type Error = BotError; - fn try_from(input: &str) -> Result { + fn try_from(_: String) -> Result { Ok(ListRoomsCommand) } }