When pure is gone (#5384), the libraries should be reviewed for uses of unsafe that were only there for purity reasons. #1913 might make this easier.
pure
unsafe
One instance I just came across is in core::vec::map.
core::vec::map
auto merge of #5797 : alexcrichton/rust/issue-1913, r=catamorphism
Auto merge of rust-lang#6134 - patrickelectric:as_utf8, r=llogiq
Merge pull request rust-lang#5487 from calebcartwright/subtree-sync-2…
Merge rust-lang#5487
When
pureis gone (#5384), the libraries should be reviewed for uses ofunsafethat were only there for purity reasons. #1913 might make this easier.One instance I just came across is in
core::vec::map.