Skip to content

Commit 34c37ab

Browse files
committed
Merge pull request #3757 from endersstocker/update-hd-doc
Update doc for Kernel.hd/1 to indicate guard clause utility
2 parents 1a9a264 + 1c1589b commit 34c37ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ defmodule Kernel do
244244
@doc """
245245
Returns the head of a list; raises `ArgumentError` if the list is empty.
246246
247-
Inlined by the compiler.
247+
Allowed in guard tests. Inlined by the compiler.
248248
249249
## Examples
250250

0 commit comments

Comments
 (0)