Commit 1bfbbe4
committed
Extract leading_first_name from bundled guard condition
Code review noted the compound condition conflated "is this piece a
prefix candidate at all" with "is it exempted as a leading first
name" into one boolean expression. Name the second clause so its
rationale is legible at the call site.1 parent a5aff94 commit 1bfbbe4
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1306 | 1306 | | |
1307 | 1307 | | |
1308 | 1308 | | |
1309 | | - | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
| |||
0 commit comments