diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-07-14 02:42:26 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-07-14 02:42:26 -0600 |
commit | 556c0e1509cb48b90f492bcf0f25d0ed14b015d1 (patch) | |
tree | 79fbd289761c44037a988c1f3a1a1f51f33ab0cc /components/script/cors.rs | |
parent | d91a6f3834aa7fbf47148480e16d06d9e3891340 (diff) | |
parent | ce4d442941616fb5e04d899dae70a862dfface7d (diff) | |
download | servo-556c0e1509cb48b90f492bcf0f25d0ed14b015d1.tar.gz servo-556c0e1509cb48b90f492bcf0f25d0ed14b015d1.zip |
Auto merge of #6621 - Ms2ger:repeat, r=SimonSapin
Move away from the repeat().take().collect() pattern.
This was the preferred pattern between the deprecation of Vec::from_elem and
the addition of the count argument to the vec![] macro.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6621)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/cors.rs')
0 files changed, 0 insertions, 0 deletions