Skip to content

Commit 83f4b19

Browse files
giacomocavalierilpil
authored andcommitted
Fix error in error.values's doc
1 parent dfdbc60 commit 83f4b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gleam/result.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ pub fn replace_error(result: Result(a, e1), error: e2) -> Result(a, e2) {
437437
/// ## Examples
438438
///
439439
/// ```gleam
440-
/// > values([Ok(1), None, Ok(3)])
440+
/// > values([Ok(1), Error("a"), Ok(3)])
441441
/// [1, 3]
442442
/// ```
443443
///

0 commit comments

Comments
 (0)