2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-18 15:26:16 +00:00

Remove unnecessary '-> ()'s

This commit is contained in:
Ethan P 2020-05-27 16:26:28 -07:00 committed by David Peter
parent 9d08c0102e
commit d2b26a5f1f

View File

@ -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;
}