summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@dashbit.co>2020-02-03 10:36:01 +0100
committerJosé Valim <jose.valim@dashbit.co>2020-02-03 10:36:01 +0100
commit49fcc6522c4fc6a3c141027c0ea7c73822cddeb8 (patch)
tree67efb7dac1c0e9fd2ddb3b97b1e3ded1e84effdf
parent1ce5b6a311300eb3ef59272c1c7f5a79eee3ad83 (diff)
downloadelixir-49fcc6522c4fc6a3c141027c0ea7c73822cddeb8.tar.gz
Add missing since annotations
-rw-r--r--lib/elixir/lib/calendar.ex1
-rw-r--r--lib/elixir/lib/task.ex1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/elixir/lib/calendar.ex b/lib/elixir/lib/calendar.ex
index 36776a971..4501e848b 100644
--- a/lib/elixir/lib/calendar.ex
+++ b/lib/elixir/lib/calendar.ex
@@ -501,6 +501,7 @@ defmodule Calendar do
...>)
"август"
"""
+ @doc since: "1.11.0"
@spec strftime(map(), String.t(), keyword()) :: String.t()
def strftime(date_or_time_or_datetime, string_format, user_options \\ []) do
parse(
diff --git a/lib/elixir/lib/task.ex b/lib/elixir/lib/task.ex
index 4184a2190..da2cdf974 100644
--- a/lib/elixir/lib/task.ex
+++ b/lib/elixir/lib/task.ex
@@ -648,6 +648,7 @@ defmodule Task do
[2, 5]
"""
+ @doc since: "1.11.0"
@spec await_many([t], timeout) :: [term]
def await_many(tasks, timeout \\ 5000) when is_timeout(timeout) do
awaiting =