about summary refs log tree commit diff
path: root/tests/ui/for-loop-while/while-cont.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/for-loop-while/while-cont.rs')
-rw-r--r--tests/ui/for-loop-while/while-cont.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/for-loop-while/while-cont.rs b/tests/ui/for-loop-while/while-cont.rs
index 1640b7e1803..73a08c26f9a 100644
--- a/tests/ui/for-loop-while/while-cont.rs
+++ b/tests/ui/for-loop-while/while-cont.rs
@@ -3,7 +3,7 @@
 pub fn main() {
     let mut i = 1;
     while i > 0 {
-        assert!((i > 0));
+        assert!(i > 0);
         println!("{}", i);
         i -= 1;
         continue;