about summary refs log tree commit diff
path: root/tests/ui/manual_assert.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/manual_assert.fixed')
-rw-r--r--tests/ui/manual_assert.fixed2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/manual_assert.fixed b/tests/ui/manual_assert.fixed
index 6c2a25c37d8..a2393674fe6 100644
--- a/tests/ui/manual_assert.fixed
+++ b/tests/ui/manual_assert.fixed
@@ -11,7 +11,7 @@ fn main() {
     let c = Some(2);
     if !a.is_empty()
         && a.len() == 3
-        && c != None
+        && c.is_some()
         && !a.is_empty()
         && a.len() == 3
         && !a.is_empty()