rust/hg-cpython/src/dirstate/status.rs
changeset 44973 26114bd6ec60
parent 44839 01afda7e7d6c
child 45111 7528699c6ccb
--- a/rust/hg-cpython/src/dirstate/status.rs	Mon Jun 15 15:14:16 2020 -0400
+++ b/rust/hg-cpython/src/dirstate/status.rs	Mon Jun 15 18:26:40 2020 +0200
@@ -236,12 +236,10 @@
 
             build_response(py, lookup, status_res, all_warnings)
         }
-        e => {
-            return Err(PyErr::new::<ValueError, _>(
-                py,
-                format!("Unsupported matcher {}", e),
-            ));
-        }
+        e => Err(PyErr::new::<ValueError, _>(
+            py,
+            format!("Unsupported matcher {}", e),
+        )),
     }
 }