diff options
author | Corentin J. <10003192+jcorentin@users.noreply.github.com> | 2024-12-23 09:42:16 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-12-23 08:55:21 +0000 |
commit | dfaebe9717fa28f8b8175f06d7db8bf90930775a (patch) | |
tree | 82c1f9b0a6614dcbcadd29f30cae1920377f0bbb | |
parent | 928f8fb7f6d8c46ebb42c0f71b654afb19a1607e (diff) | |
download | gleam_stdlib-dfaebe9717fa28f8b8175f06d7db8bf90930775a.tar.gz gleam_stdlib-dfaebe9717fa28f8b8175f06d7db8bf90930775a.zip |
Fix dynamic/decode field function example
-rw-r--r-- | src/gleam/dynamic/decode.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/dynamic/decode.gleam b/src/gleam/dynamic/decode.gleam index 02f8470..ef03758 100644 --- a/src/gleam/dynamic/decode.gleam +++ b/src/gleam/dynamic/decode.gleam @@ -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) |