From 35d99d1bfc295a4ec40982d3b745b38db655812d Mon Sep 17 00:00:00 2001 From: Giacomo Cavalieri Date: Wed, 19 Apr 2023 10:27:11 +0200 Subject: `tuple4` 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 3ad87d7..c25500d 100644 --- a/src/gleam/dynamic.gleam +++ b/src/gleam/dynamic.gleam @@ -755,7 +755,7 @@ pub fn tuple3( /// > from(#(1, 2)) /// > |> tuple4(int, float, string, int) /// Error([ -/// DecodeError(expected: "4 element tuple", found: "2 element tuple", path: []), +/// DecodeError(expected: "Tuple of 4 elements", found: "Tuple of 2 elements", path: []), /// ]) /// ``` /// @@ -763,7 +763,7 @@ pub fn tuple3( /// > from("") /// > |> tuple4(int, float, string, int) /// Error([ -/// DecodeError(expected: "4 element tuple", found: "String", path: []), +/// DecodeError(expected: "Tuple of 4 elements", found: "String", path: []), /// ]) /// ``` /// -- cgit v1.2.3