Skip to content

Commit 077beb3

Browse files
authored
Update lib/elixir/src/elixir_map.erl
1 parent f01dfb4 commit 077beb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/src/elixir_map.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,6 @@ format_error(ignored_struct_key_in_struct) ->
306306
"key :__struct__ is ignored when using structs";
307307
format_error({deprecated_update, Struct, MapUpdate}) ->
308308
io_lib:format("the struct update syntax is deprecated:\n\n~ts\n\n"
309-
"Instead, prefer to use pattern matching on structs when the variable is first defined and "
309+
"Instead, prefer to pattern match on structs when the variable is first defined and "
310310
"use the regular map update syntax instead:\n\n~ts\n",
311311
['Elixir.Macro':to_string({'%', [], [Struct, MapUpdate]}), 'Elixir.Macro':to_string(MapUpdate)]).

0 commit comments

Comments
 (0)