Skip to content

Commit a3a1b1b

Browse files
committed
Collapse if in match on unix
1 parent 697924d commit a3a1b1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

whoami/src/os/unix.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,10 +260,10 @@ impl Target for Os {
260260
"ProductUserVisibleVersion" => {
261261
set_user_visible_version = true
262262
}
263-
"ProductVersion" => {
264-
if user_visible_version.is_none() {
265-
set_user_visible_version = true
266-
}
263+
"ProductVersion"
264+
if user_visible_version.is_none() =>
265+
{
266+
set_user_visible_version = true
267267
}
268268
_ => {}
269269
}

0 commit comments

Comments
 (0)