Skip to content

Commit 9512bcc

Browse files
authored
Add @impl to provider example (#11357)
1 parent 33ebd87 commit 9512bcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/elixir/lib/config/provider.ex

+2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ defmodule Config.Provider do
5656
@behaviour Config.Provider
5757
5858
# Let's pass the path to the JSON file as config
59+
@impl true
5960
def init(path) when is_binary(path), do: path
6061
62+
@impl true
6163
def load(config, path) do
6264
# We need to start any app we may depend on.
6365
{:ok, _} = Application.ensure_all_started(:jason)

0 commit comments

Comments
 (0)