fix: typo
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user