From 19d241767999799fb0da468eace10d7300d0a0a9 Mon Sep 17 00:00:00 2001 From: Shinto C V Date: Mon, 4 Sep 2023 00:21:18 +0530 Subject: [PATCH] Fix return value of Map.fetch example Instead of just the value `2`, `Map.fetch` returns `{:ok, 2`. --- exercises/concept/remote-control-car/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/remote-control-car/.docs/introduction.md b/exercises/concept/remote-control-car/.docs/introduction.md index 77d5901a02..046e99a1bf 100644 --- a/exercises/concept/remote-control-car/.docs/introduction.md +++ b/exercises/concept/remote-control-car/.docs/introduction.md @@ -24,7 +24,7 @@ Since structs are built on maps, we can use most map functions to get and manipu plane.engine # => nil Map.fetch(plane, :wings) - # => 2 + # => {:ok, 2} ``` - update field values