diff options
Diffstat (limited to 'lib/elixir/lib')
-rw-r--r-- | lib/elixir/lib/kernel.ex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/elixir/lib/kernel.ex b/lib/elixir/lib/kernel.ex index 6dbcc5dbb..085d55927 100644 --- a/lib/elixir/lib/kernel.ex +++ b/lib/elixir/lib/kernel.ex @@ -3994,10 +3994,10 @@ defmodule Kernel do end #=> warning: the underscored variable "_bar" is used after being set - ## rescue/catch/after + ## `rescue`/`catch`/`after`/`else` - Function bodies support `rescue`, `catch` and `after` as `Kernel.SpecialForms.try/1` - does. The following two functions are equivalent: + Function bodies support `rescue`, `catch`, `after`, and `else` as `Kernel.SpecialForms.try/1` + does. For example, the following two functions are equivalent: def format(value) do try do |