Skip to content

Commit b7a3383

Browse files
author
José Valim
committed
Merge pull request #1838 from jwarwick/doc_typos
Updated defexception docs
2 parents ebb989d + ef76cad commit b7a3383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,8 +1505,8 @@ defmodule Kernel do
15051505
@doc """
15061506
Defines an exception.
15071507
1508-
Exceptions are simply records and therefore `defexception/4` has
1509-
the same API and similar behavior to `defrecord/4` with two notable
1508+
Exceptions are simply records and therefore `defexception/3` has
1509+
the same API and similar behavior to `defrecord/3` with two notable
15101510
differences:
15111511
15121512
1) Unlike records, exceptions are documented by default;

0 commit comments

Comments
 (0)