don't require init on `ValidIpAddress` (#209)
* don't require init on ValidIpAddress * Update stew/shims/net.nim Co-authored-by: Jacek Sieka <jacek@status.im> --------- Co-authored-by: Jacek Sieka <jacek@status.im>
This commit is contained in:
parent
3159137d9a
commit
49ab3c1d59
|
@ -2,7 +2,7 @@ import std/net as stdNet
|
|||
export stdNet
|
||||
|
||||
type
|
||||
ValidIpAddress* {.requiresInit.} = object
|
||||
ValidIpAddress* {.requiresInit, deprecated.} = object
|
||||
value: IpAddress
|
||||
|
||||
{.push raises: [].}
|
||||
|
|
Loading…
Reference in New Issue