diff --git a/lib/elixir/pages/getting-started/basic-types.md b/lib/elixir/pages/getting-started/basic-types.md index e9ea709a98d..d1b15331a83 100644 --- a/lib/elixir/pages/getting-started/basic-types.md +++ b/lib/elixir/pages/getting-started/basic-types.md @@ -91,7 +91,7 @@ We can also use this syntax to access documentation. The Elixir shell defines th ```elixir iex> h trunc/1 - def trunc() + def trunc(number) Returns the integer part of number. ``` @@ -100,7 +100,7 @@ Returns the integer part of number. ```elixir iex> h Kernel.trunc/1 - def trunc() + def trunc(number) Returns the integer part of number. ```