diff options
author | Giacomo Cavalieri <giacomo.cavalieri@icloud.com> | 2023-04-19 10:26:36 +0200 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-04-20 17:07:18 +0100 |
commit | e90114805e75fd420833b641feeb2bb24bec70aa (patch) | |
tree | 3ea8e3de5d271f95735d0ee03ff3b095b0741535 /src | |
parent | 716102fcf78aa092637e43fc61b2092d37d8d43d (diff) | |
download | gleam_stdlib-e90114805e75fd420833b641feeb2bb24bec70aa.tar.gz gleam_stdlib-e90114805e75fd420833b641feeb2bb24bec70aa.zip |
`tuple3` doc
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/dynamic.gleam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/dynamic.gleam b/src/gleam/dynamic.gleam index 55008dd..3ad87d7 100644 --- a/src/gleam/dynamic.gleam +++ b/src/gleam/dynamic.gleam @@ -705,7 +705,7 @@ pub fn tuple2( /// > from(#(1, 2)) /// > |> tuple3(int, float, string) /// Error([ -/// DecodeError(expected: "3 element tuple", found: "2 element tuple", path: [])), +/// DecodeError(expected: "Tuple of 3 elements", found: "Tuple of 2 elements", path: [])), /// ]) /// ``` /// @@ -713,7 +713,7 @@ pub fn tuple2( /// > from("") /// > |> tuple3(int, float, string) /// Error([ -/// DecodeError(expected: "3 element tuple", found: "String", path: []), +/// DecodeError(expected: "Tuple of 3 elements", found: "String", path: []), /// ]) /// ``` /// |