From 23a8a9ee04afbe2140d1b8c1e350f98019f56d39 Mon Sep 17 00:00:00 2001 From: Levente Batuska Date: Mon, 16 Sep 2024 07:52:50 +0200 Subject: [PATCH] fix: typo --- typeutils/result.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typeutils/result.go b/typeutils/result.go index 8365abd..0c4d071 100644 --- a/typeutils/result.go +++ b/typeutils/result.go @@ -32,7 +32,7 @@ func (res Result[T]) Unwrap() T { if res.err == nil { return res.value } - panic("Tried unwrapping a Result that had an error a value!") + panic("Tried unwrapping a Result that had an error value!") } func (res Result[T]) Unwrap_or(val T) T {