mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Explorer: make use of != in Carbon lit (#2586)
Swap `not (a == b)` for `a != b` in test now that we have it.
This commit is contained in:
Vendored
+1
-1
@@ -11,7 +11,7 @@ package ExplorerTest api;
|
||||
|
||||
fn Main() -> i32 {
|
||||
var x: auto = 2;
|
||||
while (not (x == 0)) {
|
||||
while (x != 0) {
|
||||
x = x - 1;
|
||||
}
|
||||
return x;
|
||||
|
||||
Reference in New Issue
Block a user