mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
d0c1605d51
For the degenerate (`map(|(k, _)| k)`/`map(|(_, v)| v)`) cases a mut annotation is superfluous and a ref annotation won't compile, so no additional handling is required. For cases where the `map` call must be preserved ref/mut annotations should also be presereved so that the map body continues to work as expected. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |