mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-27 02:03:52 +01:00
Remove unnecessary '-> ()'s
This commit is contained in:
parent
9d08c0102e
commit
d2b26a5f1f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user