Skip to content

Commit 02e9b89

Browse files
committed
More range copyedit
1 parent 1c01996 commit 02e9b89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/elixir/lib/range.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ defmodule Range do
55
66
Ranges are always inclusive and they may have custom steps.
77
The most common form of creating and matching on ranges is
8-
via the [`start..stop`](`../2`) and [`start..stop//step`](`..///3`) notations,
9-
defined respectively as the `../2` and `..///3` macros
10-
auto-imported from `Kernel`:
8+
via the [`first..last`](`../2`) and [`first..last//step`](`..///3`)
9+
notations, auto-imported from `Kernel`:
1110
1211
iex> Enum.to_list(1..3)
1312
[1, 2, 3]

0 commit comments

Comments
 (0)