From 56a4bca64171551262d35953b53c32d8ddad22e0 Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Mon, 30 Aug 2021 18:13:43 +0200 Subject: [PATCH] Fix typo --- questionable/results.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questionable/results.nim b/questionable/results.nim index 4792358..7b4a166 100644 --- a/questionable/results.nim +++ b/questionable/results.nim @@ -101,7 +101,7 @@ proc option*[T,E](value: Result[T,E]): ?T = ## Converts a Result into an Option. if value.isOk: - try: # workaround for erroneouos exception tracking when T is a closure + try: # workaround for erroneous exception tracking when T is a closure value.unsafeGet.some except Exception as exception: raise newException(Defect, exception.msg, exception)