diff --git a/concepts/structs/about.md b/concepts/structs/about.md index 70ecfe2205..fb97d8ea6e 100644 --- a/concepts/structs/about.md +++ b/concepts/structs/about.md @@ -31,7 +31,7 @@ plane = %Plane{} plane.engine # => nil Map.fetch(plane, :wings) - # => 2 + # => {:ok, 2} ``` - Update field values diff --git a/concepts/structs/introduction.md b/concepts/structs/introduction.md index 7392839985..0c74822fd2 100644 --- a/concepts/structs/introduction.md +++ b/concepts/structs/introduction.md @@ -22,7 +22,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 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