Skip to content

Commit 06f395e

Browse files
committed
Apply clippy suggestion
1 parent ec91bf1 commit 06f395e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ fn main() {
129129
.any(|m| m)
130130
};
131131

132-
process::exit(if matched { 0 } else { 1 });
132+
process::exit(i32::from(!matched));
133133
}

0 commit comments

Comments
 (0)