aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/dynamic.gleam4
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: []),
/// ])
/// ```
///