Rollup merge of #62344 - matklad:simplify-option, r=sfackler
simplify Option::get_or_insert I am pretty sure that the optimized result will be the same, and it's one `unsafe` less in the stdlib!
Showing
想要评论请 注册 或 登录
simplify Option::get_or_insert I am pretty sure that the optimized result will be the same, and it's one `unsafe` less in the stdlib!