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:
tersec 2023-11-08 01:55:31 +00:00 committed by GitHub
parent 3159137d9a
commit 49ab3c1d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import std/net as stdNet
export stdNet
type
ValidIpAddress* {.requiresInit.} = object
ValidIpAddress* {.requiresInit, deprecated.} = object
value: IpAddress
{.push raises: [].}