Repository navigation
Commit abaeb4d
committed
Type Address4.addressMinusSuffix as non-nilable (closes #143)
It is always assigned in the constructor, so the optional `?` was
forcing callers into needless nil-checks (and untestable branches).
Matches the existing IPv6 typing.1 parent 2878c29 commit abaeb4d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments