mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 17:44:09 +01:00
Change !0 to <type>::MAX or -1, depending on signedness
This commit is contained in:
1 parent
7b8d257043
commit
a99fc27dc1
7 files changed
+8
-8
No files matched your search
+1
-1
@@ -340,7 +340,7 @@ fn run() -> Result<(), Box<dyn std::error::Error>> {
|
||||
println!("Validation successful");
|
||||
return Ok(());
|
||||
} else {
|
||||
std::process::exit(!0);
|
||||
std::process::exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user