Skip to content

Commit afbf0c9

Browse files
committed
minor doc fix in explicit-nulls.md, fixed inside conditions example
1 parent 3112800 commit afbf0c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,10 @@ if (s != null && s.length > 0) { // s: String in `s.length > 0`
348348
// s: String
349349
}
350350

351-
if (s == null || s.length > 0) // s: String in `s.length > 0` {
351+
if (s == null || s.length > 0) { // s: String in `s.length > 0`
352352
// s: String|Null
353353
} else {
354-
// s: String|Null
354+
// s: String
355355
}
356356
```
357357

0 commit comments

Comments
 (0)