aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/list.gleam3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam
index 61b3c7b..fa6ee46 100644
--- a/src/gleam/list.gleam
+++ b/src/gleam/list.gleam
@@ -254,8 +254,7 @@ pub fn rest(list: List(a)) -> Result(List(a), Nil) {
}
}
-/// Takes a list and groups the values by a key
-/// which is built from a key function.
+/// Groups the elements from the given list by the given key function.
///
/// Does not preserve the initial value order.
///