Skip to content

Commit

Permalink
Fix dynamic/decode field function example
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorentin authored and lpil committed Dec 23, 2024
1 parent 928f8fb commit dfaebe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gleam/dynamic/decode.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ pub fn decode_error(
/// let decoder = {
/// use name <- decode.field("name", string)
/// use email <- decode.field("email", string)
/// SignUp(name: name, email: email)
/// decode.success(SignUp(name: name, email: email))
/// }
///
/// let result = decode.run(data, decoder)
Expand Down

0 comments on commit dfaebe9

Please sign in to comment.