Commit 8ed1924
[readme] use single quotes in nested ternary bad example (section 15.6)
The bad example in section 15.6 (nested ternaries) used double-quoted
string literals ('"bar"', '"baz"'), which contradicts section 6.1 of
this same style guide that requires single quotes.
Also related to issue #3152 which flagged inconsistent style conventions
in code examples across sections.
Fixes the bad example to use single-quoted strings consistently with
the rest of the guide and with the good examples immediately below.1 parent ce3f8e9 commit 8ed1924
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2133 | 2133 | | |
2134 | 2134 | | |
2135 | 2135 | | |
2136 | | - | |
2137 | | - | |
| 2136 | + | |
| 2137 | + | |
2138 | 2138 | | |
2139 | 2139 | | |
2140 | 2140 | | |
| |||
0 commit comments