summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEksperimental <eksperimental@users.noreply.github.com>2018-11-26 20:05:35 +0700
committerJosé Valim <jose.valim@gmail.com>2018-11-26 14:05:35 +0100
commit29d775dfa79d528c3eaf53b22370d96b34e07545 (patch)
tree719deaca8f2aa95e68f0b4244784580dd82f6b35
parent718263f8234bdb4bff35c4ec2a04aa61514228b7 (diff)
downloadelixir-29d775dfa79d528c3eaf53b22370d96b34e07545.tar.gz
Fix link to fn/1 special form in Kernel docs (#8427)
-rw-r--r--lib/elixir/lib/kernel.ex3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/elixir/lib/kernel.ex b/lib/elixir/lib/kernel.ex
index 7b5b3bc85..7e1406b28 100644
--- a/lib/elixir/lib/kernel.ex
+++ b/lib/elixir/lib/kernel.ex
@@ -48,8 +48,7 @@ defmodule Kernel do
* `Atom` - literal constants with a name (`true`, `false`, and `nil` are atoms)
* `Float` - numbers with floating point precision
- * `Function` - a reference to code chunk, created with the `Kernel.SpecialForms.fn/2`
- special form
+ * `Function` - a reference to code chunk, created with the `fn/1` special form
* `Integer` - whole numbers (not fractions)
* `List` - collections of a variable number of elements (linked lists)
* `Map` - collections of key-value pairs