Skip to content

Commit f54fb12

Browse files
authored
Add missing doc since (#12623)
Courtesy of https://github.com/wojtekmach/app_manifest. :)
1 parent 490bd9e commit f54fb12

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/elixir/lib/code.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ defmodule Code do
562562
Defaults to `false`.
563563
564564
"""
565+
@doc since: "1.15.0"
565566
@spec with_diagnostics(keyword(), (-> result)) :: {result, [diagnostic(:warning | :error)]}
566567
when result: term()
567568
def with_diagnostics(opts \\ [], fun) do

lib/mix/lib/mix.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ defmodule Mix do
589589
list the Erlang application dependencies under the `:extra_applications`
590590
section of your `mix.exs`.
591591
"""
592+
@doc since: "1.15.0"
592593
def ensure_application!(app) when is_atom(app) do
593594
ensure_application!(app, Mix.State.builtin_apps())
594595
:ok

0 commit comments

Comments
 (0)