diff options
author | Louis Pilfold <louis@lpil.uk> | 2022-01-12 20:47:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 20:47:33 +0000 |
commit | 5ca6673e98d0b6f80b50b5d9ba311bf08cbe1860 (patch) | |
tree | 4e802e53a1fceeb87f32f10ef77afc91474a484c /README.md | |
parent | ea79d3bace742893776cacbfbe2074c970da0e3d (diff) | |
download | gleam_json-5ca6673e98d0b6f80b50b5d9ba311bf08cbe1860.tar.gz gleam_json-5ca6673e98d0b6f80b50b5d9ba311bf08cbe1860.zip |
Correct typo
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ import myapp.{Cat} import gleam/json import gleam/dynamic.{field, list, int, string} -pub fn cat_from_json(json_string: String) -> Result<Cat, json.DecodeError> { +pub fn cat_from_json(json_string: String) -> Result(Cat, json.DecodeError) { let cat_decoder = dynamic.decode3( Cat, field("name", of: string), |