From a3fb123203e534ea5a29334237f20fe1e2a97b64 Mon Sep 17 00:00:00 2001 From: sabiwara Date: Mon, 7 Oct 2024 07:43:27 +0900 Subject: [PATCH] Fix signuature of trunc/1 in guide --- lib/elixir/pages/getting-started/basic-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. ```