Skip to content

Commit 16bee46

Browse files
authored
Fix Date.range/2 doc: step is range/3's third argument (#15557)
1 parent b639d87 commit 16bee46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elixir/lib/calendar/date.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ defmodule Date do
8181
8282
Ranges of dates can be increasing (`first <= last`) and are
8383
always inclusive. For a decreasing range, use `range/3` with
84-
a step of -1 as first argument.
84+
a step of -1 as third argument.
8585
8686
## Examples
8787

0 commit comments

Comments
 (0)