summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEksperimental <eksperimental@users.noreply.github.com>2018-04-25 13:19:56 +0700
committerJosé Valim <jose.valim@plataformatec.com.br>2018-04-25 12:18:49 +0200
commite615b3dd0e4c10ea390150b2bb53a8760af19c88 (patch)
tree240331c367675ed75aab38f435085baeeb3740c3
parent6586e19a22961d4e58ef92e8f9f1266ea631ab62 (diff)
downloadelixir-e615b3dd0e4c10ea390150b2bb53a8760af19c88.tar.gz
Mention that Map.merge/2 is "Inlined by the compiler" (#7598)
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
-rw-r--r--lib/elixir/lib/map.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/elixir/lib/map.ex b/lib/elixir/lib/map.ex
index c54136072..aeefc9c4a 100644
--- a/lib/elixir/lib/map.ex
+++ b/lib/elixir/lib/map.ex
@@ -505,6 +505,8 @@ defmodule Map do
side into the struct, even if the key is not part of the struct. Instead,
use `Kernel.struct/2`.
+ Inlined by the compiler.
+
## Examples
iex> Map.merge(%{a: 1, b: 2}, %{a: 3, d: 4})