Skip to content

Commit 4de3315

Browse files
badeyeye1aadeyeyeye
authored andcommitted
Fix typo in docs: initial_valye -> initial_value (#13211)
Co-authored-by: Adebisi Adeyeye <[email protected]>
1 parent 6e29599 commit 4de3315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/pages/anti-patterns/process-anti-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ defmodule Counter do
262262

263263
@doc "Starts a counter process."
264264
def start_link(opts \\ []) do
265-
initial_valye = Keyword.get(opts, :initial_value, 0)
265+
initial_value = Keyword.get(opts, :initial_value, 0)
266266
name = Keyword.get(opts, :name, __MODULE__)
267267
GenServer.start(__MODULE__, initial_value, name: name)
268268
end

0 commit comments

Comments
 (0)