From f9cf638c341e8b9779f8ce09566b22feecee71a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81=C4=99picki?= Date: Wed, 16 Feb 2022 21:39:37 +0100 Subject: Fix copypasta mistake in decode.list documentation and in decode.shallow_list documentation say decode.list is a function --- src/gleam/dynamic.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gleam/dynamic.gleam b/src/gleam/dynamic.gleam index 938d4c4..320605c 100644 --- a/src/gleam/dynamic.gleam +++ b/src/gleam/dynamic.gleam @@ -246,7 +246,7 @@ if javascript { /// Checks to see whether a `Dynamic` value is a list, and returns that list if it /// is. The types of the elements are not checked. /// -/// If you wish to decode all the elements in the list use the `list` +/// If you wish to decode all the elements in the list use the `list` function /// instead. /// /// ## Examples @@ -336,7 +336,7 @@ pub fn result( /// the list. The list is only decoded if all elements in the list can be /// successfully decoded using this function. /// -/// If you do not wish to decode all the elements in the list use the `list` +/// If you do not wish to decode all the elements in the list use the `shallow_list` /// function instead. /// /// ## Examples -- cgit v1.2.3