diff options
author | Lunarmagpie <Bambolambo0@gmail.com> | 2023-03-03 16:46:04 -0500 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2023-03-04 19:33:04 +0000 |
commit | 48f6516428679c6240ed996e53c14b8c3f492f1a (patch) | |
tree | d326c27672c9ab0bfd88378185b82e5cf54d817a | |
parent | 3662dd46c42fff69526aa92e2f389db66f513a1c (diff) | |
download | gleam_json-48f6516428679c6240ed996e53c14b8c3f492f1a.tar.gz gleam_json-48f6516428679c6240ed996e53c14b8c3f492f1a.zip |
fix syntax error in README
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)), ]) |