From af9f14685a708b193309e46a80127301b86ebb0e Mon Sep 17 00:00:00 2001 From: rasul Date: Sun, 5 Apr 2020 13:32:21 -0500 Subject: [PATCH] slight changes so placeholder function quits emitting warning --- src/command/dispatch/help.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/command/dispatch/help.rs b/src/command/dispatch/help.rs index 1b010c6..53542ca 100644 --- a/src/command/dispatch/help.rs +++ b/src/command/dispatch/help.rs @@ -5,9 +5,7 @@ use crate::database::Db; use crate::queue::SendQueue; impl Command { - pub fn dispatch_help(command: &Command, args: String, token: Token, db: &mut Db) -> SendQueue { - let mut send_queue = SendQueue::new(); - - send_queue + pub fn dispatch_help(_command: &Command, _args: String, token: Token, _db: &mut Db) -> SendQueue { + SendQueue::ok(token) } }