aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/dynamic.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/dynamic.gleam b/src/gleam/dynamic.gleam
index 9846cfe..d9aa2ee 100644
--- a/src/gleam/dynamic.gleam
+++ b/src/gleam/dynamic.gleam
@@ -321,7 +321,7 @@ if javascript {
/// ```gleam
/// > from(123)
/// > |> result(ok: int, error: string)
-/// Error([DecodeError(expected: "2 element tuple", found: "Int", path: [])])
+/// Error([DecodeError(expected: "Result", found: "Int", path: [])])
/// ```
///
pub fn result(