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