Skip to content

Commit f58a539

Browse files
committed
docs: fix docs warnings
1 parent 5b8329b commit f58a539

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/knigge.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ defmodule Knigge do
3636
]
3737
end
3838
39-
Differences between the versions are explained in [the Changelog](./CHANGELOG.md).
39+
Differences between the versions are explained in [the Changelog](https://hexdocs.pm/ex_knigge/changelog.html).
4040
4141
## Motivation
4242
@@ -190,7 +190,7 @@ defmodule Knigge do
190190
191191
By default `Knigge` does as much work as possible at compile time. This will
192192
be fine most of the time. In case you want to swap out the implementation at
193-
runtime - by calling `Application.put_env/2` - you can force `Knigge` to do all
193+
runtime - by calling `Application.put_env/3` - you can force `Knigge` to do all
194194
delegation at runtime. As you might expect this incurs runtime overhead,
195195
since the implementing module will have to be loaded for each call.
196196

lib/knigge/behaviour.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ defmodule Knigge.Behaviour do
88
It works whether the module is already compiled or still open, for which it
99
uses `Module.open?/1`. If the module is still open it directly accesses the
1010
module attribute `:callback` by calling `Module.get_attribute/2` and then
11-
using `Knigge.AST.function_spec_from_callback/1` to transform the AST into a
12-
function spec, such as `{:my_function, 2}` which is being returned as a
13-
Keyword list.
11+
transforms the AST into a function spec, such as `{:my_function, 2}` which
12+
is being returned as a Keyword list.
1413
"""
1514

1615
alias Knigge.Options

0 commit comments

Comments
 (0)