aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 fc4509c..a06d1f5 100644
--- a/src/gleam/dynamic.gleam
+++ b/src/gleam/dynamic.gleam
@@ -271,7 +271,7 @@ if javascript {
///
/// ```gleam
/// > shallow_list(1)
-/// Error([DecodeError(expected: "Int", found: "Int", path: [])])
+/// Error([DecodeError(expected: "List", found: "Int", path: [])])
/// ```
///
pub fn shallow_list(from value: Dynamic) -> Result(List(Dynamic), DecodeErrors) {