Use |_| instead of vars; fix typo