Prefer `map` over `collect`.<br>Redundant `self` detected.<br>Space missing to the left of {.<br>Space between { and | missing.