libcore: minor code cleanup.
This is minor and probably completely inconsequential to performance, but I find vec::map to be more clear than vec::each and a push.
Showing
想要评论请 注册 或 登录
This is minor and probably completely inconsequential to performance, but I find vec::map to be more clear than vec::each and a push.