Skip to content

Commit e1ffe34

Browse files
JosephTLyonslpil
authored andcommitted
Remove unnecessary anonymous function wrapper
1 parent d9a9f2a commit e1ffe34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gleam/bytes_tree.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub fn concat(trees: List(BytesTree)) -> BytesTree {
105105
///
106106
pub fn concat_bit_arrays(bits: List(BitArray)) -> BytesTree {
107107
bits
108-
|> list.map(fn(b) { from_bit_array(b) })
108+
|> list.map(from_bit_array)
109109
|> concat()
110110
}
111111

0 commit comments

Comments
 (0)