Skip to content

Commit 6dcef12

Browse files
authored
Update explicit-nulls.md
fix wrong variable name
1 parent e504518 commit 6dcef12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/other-new-features/explicit-nulls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ if s != null then
298298

299299
// s: String|Null
300300

301-
assert(x != null)
301+
assert(s != null)
302302
// s: String
303303
```
304304

0 commit comments

Comments
 (0)