Skip to content

Commit 9dee307

Browse files
jcorentinlpil
authored andcommitted
Fix dynamic.element doc example
1 parent 1a8cc09 commit 9dee307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gleam/dynamic.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ fn decode_field(a: Dynamic, b: name) -> Result(Option(Dynamic), DecodeErrors)
448448
/// ```gleam
449449
/// from(#(1, 2))
450450
/// |> element(0, int)
451-
/// // -> Ok(from(1))
451+
/// // -> Ok(1)
452452
/// ```
453453
///
454454
/// ```gleam

0 commit comments

Comments
 (0)