From e90114805e75fd420833b641feeb2bb24bec70aa Mon Sep 17 00:00:00 2001 From: Giacomo Cavalieri Date: Wed, 19 Apr 2023 10:26:36 +0200 Subject: `tuple3` doc --- src/gleam/dynamic.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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: []), /// ]) /// ``` /// -- cgit v1.2.3