diff options
author | Ethan P <eth-p+git@hidden.email> | 2020-05-27 16:26:28 -0700 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-05-29 22:13:10 +0200 |
commit | d2b26a5f1f8d704bf1e10ec9c36b6ad3516dbe4e (patch) | |
tree | 6dd23505d07d43c4a7b5c8e10df6fde32213f6d2 /src | |
parent | 9d08c0102eba2a6a2e613f2bc9cf3083252f580b (diff) |
Remove unnecessary '-> ()'s
Diffstat (limited to 'src')
-rw-r--r-- | src/input.rs | 6 |
1 files 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<String>) -> () { + pub fn set_kind(&mut self, kind: Option<String>) { self.kind = kind; } - pub fn set_summary(&mut self, summary: Option<String>) -> () { + pub fn set_summary(&mut self, summary: Option<String>) { self.summary = summary; } - pub fn set_title(&mut self, title: Option<String>) -> () { + pub fn set_title(&mut self, title: Option<String>) { self.title = title; } |