about summary refs log tree commit diff
path: root/tests/coverage/partial_eq.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/partial_eq.rs')
-rw-r--r--tests/coverage/partial_eq.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/coverage/partial_eq.rs b/tests/coverage/partial_eq.rs
index 0e96dc2b685..081502d4a9d 100644
--- a/tests/coverage/partial_eq.rs
+++ b/tests/coverage/partial_eq.rs
@@ -10,11 +10,7 @@ pub struct Version {
 
 impl Version {
     pub fn new(major: usize, minor: usize, patch: usize) -> Self {
-        Self {
-            major,
-            minor,
-            patch,
-        }
+        Self { major, minor, patch }
     }
 }