From d2b26a5f1f8d704bf1e10ec9c36b6ad3516dbe4e Mon Sep 17 00:00:00 2001 From: Ethan P Date: Wed, 27 May 2020 16:26:28 -0700 Subject: [PATCH] Remove unnecessary '-> ()'s --- src/input.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/input.rs b/src/input.rs index c5478e39..b4b058e2 100644 --- a/src/input.rs +++ b/src/input.rs @@ -35,15 +35,15 @@ impl InputDescription { } } - pub fn set_kind(&mut self, kind: Option) -> () { + pub fn set_kind(&mut self, kind: Option) { self.kind = kind; } - pub fn set_summary(&mut self, summary: Option) -> () { + pub fn set_summary(&mut self, summary: Option) { self.summary = summary; } - pub fn set_title(&mut self, title: Option) -> () { + pub fn set_title(&mut self, title: Option) { self.title = title; }