Skip to content

Commit 32119aa

Browse files
docs: minor corrections to dynamic/decode
1 parent 63593ee commit 32119aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gleam/dynamic/decode.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
//// use name <- decode.field("name", decode.string)
233233
//// use badge_count <- decode.field("badge-count", decode.int)
234234
//// decode.success(Trainer(name, badge_count))
235-
//// })
235+
//// }
236236
////
237237
//// let gym_leader_decoder = {
238238
//// use name <- decode.field("name", decode.string)
@@ -242,7 +242,7 @@
242242
//// ```
243243
////
244244
//// A third decoder can be used to extract and decode the `"type"` field, and the
245-
//// `then` function then returns whichever decoder is suitable for the document.
245+
//// expression can evaluate to whichever decoder is suitable for the document.
246246
////
247247
//// ```gleam
248248
//// // Data:

0 commit comments

Comments
 (0)