Skip to content

Commit 6932e25

Browse files
author
José Valim
committed
Doc fixes
1 parent 22abd6a commit 6932e25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defmodule Kernel do
2727
If you don't want to import a function or macro from `Kernel`, use the `:except`
2828
option and then list the function/macro by arity:
2929
30-
import Kernel, except: [if: 2, unless: 2]
30+
import Kernel, except: [if: 2, unless: 2]
3131
3232
See `Kernel.SpecialForms.import/2` for more information on importing.
3333

lib/elixir/lib/tuple.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule Tuple do
66
77
* `elem/2` - access a tuple by index
88
* `put_elem/3` - insert a value into a tuple by index
9-
* `tuple_size/3` - get the number of elements in a tuple
9+
* `tuple_size/1` - get the number of elements in a tuple
1010
1111
Tuples are intended as fixed-size containers for multiple elements.
1212
To manipulate a collection of elements, use a list instead. `Enum`

0 commit comments

Comments
 (0)