Remove unnecessary '-> ()'s

This commit is contained in:
Ethan P authored and David Peter committed 2020-05-29 22:13:10 +02:00
1 parent 9d08c0102e
commit d2b26a5f1f
1 file changed
+3 -3
+3 -3
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;
}