From 089f29823bc3ed25ae7b4fed64c88e981a872b64 Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Sun, 9 Jan 2022 22:41:58 +0000 Subject: Remove unused imports from example --- README.md | 2 -- 1 file changed, 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8d2068c..5a3df4b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,6 @@ gleam add gleam_json ```rust import myapp.{Cat} -import gleam/list import gleam/json.{object, string, list, int, null} pub fn cat_to_json(cat: Cat) -> String { @@ -40,7 +39,6 @@ JSON is decoded into a `Dynamic` value which can be decoded using the import myapp.{Cat} import gleam/json import gleam/dynamic.{field, list, int, string} -import gleam/result pub fn cat_from_json(json_string: String) -> Result { let cat_decoder = dynamic.decode3( -- cgit v1.2.3