Skip to content

Commit a711781

Browse files
committed
improve title
1 parent d194f35 commit a711781

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/content/effective-dart/_toc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ the project:
105105
* <a href='/effective-dart/usage#dont-use-an-explicit-default-value-of-null'>DON'T use an explicit default value of <code>null</code>.</a>
106106
* <a href='/effective-dart/usage#dont-use-true-or-false-in-equality-operations'>DON'T use <code>true</code> or <code>false</code> in equality operations.</a>
107107
* <a href='/effective-dart/usage#avoid-late-variables-if-you-need-to-check-whether-they-are-initialized'>AVOID <code>late</code> variables if you need to check whether they are initialized.</a>
108-
* <a href='/effective-dart/usage#consider-work-arounds-to-enable-type-promotion-for-nullable-fields'>CONSIDER work arounds to enable type promotion for nullable fields.</a>
108+
* <a href='/effective-dart/usage#consider-type-promotion-or-null-check-patterns-for-using-nullable-types'>CONSIDER type promotion or null-check patterns for using nullable types.</a>
109109

110110
**Strings**
111111

src/content/effective-dart/usage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ Of course, if `null` is a valid initialized value for the variable,
326326
then it probably does make sense to have a separate boolean field.
327327

328328

329-
### CONSIDER work arounds to enable type promotion for nullable fields
329+
### CONSIDER type promotion or null-check patterns for using nullable types
330330

331331
Checking that a nullable variable is not equal to `null` promotes the variable
332332
to a non-nullable type. That lets you access members on the variable and pass it

src/content/guides/whats-new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ we made the following changes to this site:
126126
* Reorganized and simplified site infrastructure across the board, in preparation
127127
to [move away from using Jekyll][].
128128

129-
[type promotion]: /effective-dart/usage#consider-work-arounds-to-enable-type-promotion-for-nullable-fields
129+
[type promotion]: /effective-dart/usage#consider-type-promotion-or-null-check-patterns-for-using-nullable-types
130130
[Understanding Null Safety]: /null-safety/understanding-null-safety
131131
[C interop]: /interop/c-interop#native-assets
132132
[Breaking changes]: /resources/breaking-changes

0 commit comments

Comments
 (0)