Commit 42998af
committed
docs: use string status names in remaining numeric-only examples
Convert numeric status codes to string status names in files that
don't already have educational comments showing both options:
- docs/tutorial/patterns/macro/index.md
- docs/tutorial/getting-started/validation/index.md
Files with '// or status(...)' comments are left unchanged since
those comments help users learn both options are valid.
This is a stylistic preference - both forms work identically.
String names are more readable and self-documenting.1 parent 009e7fd commit 42998af
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments