aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8e6a35a..8d2068c 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ import gleam/dynamic.{field, list, int, string}
import gleam/result
pub fn cat_from_json(json_string: String) -> Result<Cat, json.DecodeError> {
- let cat_decoder = dynamic.decode2(
+ let cat_decoder = dynamic.decode3(
Cat,
field("name", of: string),
field("lives", of: int),