Skip to content

Commit

Permalink
Update ko/basics/functions.md (#2975)
Browse files Browse the repository at this point in the history
It's same as a6d86ef and seems this code is not working on newer elixir
  • Loading branch information
MPThLee committed Jan 3, 2024
1 parent 5803c15 commit 3a6e30e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lessons/ko/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ end

```elixir
defmodule Greeter do
def hello(name), do: phrase <> name
def hello(name), do: phrase() <> name
defp phrase, do: "Hello, "
end

Expand Down

0 comments on commit 3a6e30e

Please sign in to comment.