From 589d0e0dbf2a7f29122e70a4d9dd5ee7d1260540 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Thu, 27 May 2021 15:56:15 +0000 Subject: [PATCH] From for ListRoomsCommand --- src/commands/rooms.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }