aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLunarmagpie <Bambolambo0@gmail.com>2023-03-03 16:46:04 -0500
committerLouis Pilfold <louis@lpil.uk>2023-03-04 19:33:04 +0000
commit48f6516428679c6240ed996e53c14b8c3f492f1a (patch)
treed326c27672c9ab0bfd88378185b82e5cf54d817a
parent3662dd46c42fff69526aa92e2f389db66f513a1c (diff)
downloadgleam_json-48f6516428679c6240ed996e53c14b8c3f492f1a.tar.gz
gleam_json-48f6516428679c6240ed996e53c14b8c3f492f1a.zip
fix syntax error in README
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1b0d1e0..87d806b 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ import gleam/json.{object, string, array, int, null}
pub fn cat_to_json(cat: Cat) -> String {
object([
#("name", string(cat.name)),
- #("lives", int(cat.lives),
+ #("lives", int(cat.lives)),
#("flaws", null()),
#("nicknames", array(cat.nicknames, of: string)),
])