We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
if
1 parent 697924d commit a3a1b1bCopy full SHA for a3a1b1b
whoami/src/os/unix.rs
@@ -260,10 +260,10 @@ impl Target for Os {
260
"ProductUserVisibleVersion" => {
261
set_user_visible_version = true
262
}
263
- "ProductVersion" => {
264
- if user_visible_version.is_none() {
265
- set_user_visible_version = true
266
- }
+ "ProductVersion"
+ if user_visible_version.is_none() =>
+ {
+ set_user_visible_version = true
267
268
_ => {}
269
0 commit comments