Export Option.questionableUnpack

This commit is contained in:
Tanguy 2022-06-20 15:33:08 +02:00
parent 1e8ac329f8
commit 845a306417
No known key found for this signature in database
GPG Key ID: 7DD8EC6B6CE6C45E

View File

@ -1,7 +1,7 @@
import std/options
import std/macros
proc questionableUnpack[T](option: Option[T]): (T, bool) =
proc questionableUnpack*[T](option: Option[T]): (T, bool) =
## Used internally
if option.isSome: