Skip to content

Commit e615b3d

Browse files
eksperimentalJosé Valim
authored andcommitted
Mention that Map.merge/2 is "Inlined by the compiler" (#7598)
Signed-off-by: José Valim <[email protected]>
1 parent 6586e19 commit e615b3d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/elixir/lib/map.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,8 @@ defmodule Map do
505505
side into the struct, even if the key is not part of the struct. Instead,
506506
use `Kernel.struct/2`.
507507
508+
Inlined by the compiler.
509+
508510
## Examples
509511
510512
iex> Map.merge(%{a: 1, b: 2}, %{a: 3, d: 4})

0 commit comments

Comments
 (0)