rust/rhg/src/error.rs
changeset 45439 fbc373b7cbc3
parent 45364 5fe25f8ef5d9
child 45542 33ded2d3f4fc
--- a/rust/rhg/src/error.rs	Tue Aug 04 16:11:23 2020 +0200
+++ b/rust/rhg/src/error.rs	Thu Aug 13 16:36:42 2020 +0200
@@ -69,7 +69,7 @@
 
 impl CommandError {
     /// Exist the process with the corresponding exit code.
-    pub fn exit(&self) -> () {
+    pub fn exit(&self) {
         std::process::exit(self.kind.get_exit_code())
     }