aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/json.gleam8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gleam/json.gleam b/src/gleam/json.gleam
index 927a75e..71c685c 100644
--- a/src/gleam/json.gleam
+++ b/src/gleam/json.gleam
@@ -25,12 +25,12 @@ pub type DecodeError {
/// ```
///
/// ```gleam
-/// > decode("[", into: dynamic.list(of: dynamic.int))
+/// > decode("[", dynamic.list(of: dynamic.int))
/// Error(UnexpectedEndOfInput)
/// ```
///
/// ```gleam
-/// > decode("1", into: dynamic.string)
+/// > decode("1", dynamic.string)
/// Error(UnexpectedFormat([dynamic.DecodeError("String", "Int", [])]))
/// ```
///
@@ -75,12 +75,12 @@ fn decode_string(a: String) -> Result(Dynamic, DecodeError)
/// ```
///
/// ```gleam
-/// > decode_bits(<<"[">>, into: dynamic.list(of: dynamic.int))
+/// > decode_bits(<<"[">>, dynamic.list(of: dynamic.int))
/// Error(UnexpectedEndOfInput)
/// ```
///
/// ```gleam
-/// > decode_bits("<<1">>, into: dynamic.string)
+/// > decode_bits("<<1">>, dynamic.string)
/// Error(UnexpectedFormat([dynamic.DecodeError("String", "Int", [])]))
/// ```
///