The closure passed to map() does not take a reference while the one passed to filter() takes a reference in Rust. Most of the iterator adapters take a reference. Is there an