Idk about this solution, but it's cool. I like it.;)
same, adopts the match pattern
yes, get a new way :)
same =(
feel dumb
The collect step is unnecessary—you can chain iterator transformation operations such as map(), i.e. you can do map(...).sum().
collect
map()
map(...).sum()
Loading collection data...
Idk about this solution, but it's cool. I like it.;)
same, adopts the match pattern
yes, get a new way :)
same =(
feel dumb
The
collect
step is unnecessary—you can chain iterator transformation operations such asmap()
, i.e. you can domap(...).sum()
.