Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBring SmallVec closer to Vec #26
Conversation
|
The renaming of |
|
Might be worth adding tests for borrow/as_ref and anything else I missed? |
…ator
|
Added tests for traits that missed them! |
|
Bump |
| type Item = A::Item; | ||
|
|
||
| #[inline] | ||
| #[inline] |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Looks good to me; I'd appreciate if this could land soon :) |
|
Looks good, thanks! @bors-servo r+ |
|
|
|
http://build.servo.org/homu/queue/rust-smallvec shows this PR as approved, but it doesn’t look like a Travis build is being scheduled. CC @larsbergstrom https://travis-ci.org/servo/rust-smallvec/builds/151422387 is green. |
Marwes commentedJul 31, 2016
•
edited by larsbergstrom
This PR implements almost all traits which Vec implements for
SmallVec, bringing it closer to being a drop in replacement forVec. A few implementations were omitted such asExtend<&A::Item>which could not be implemented due to a conflict withExtend<A::Item>, a fewFromimplementations which may be a bit more esoteric (easily added if so desired) andWrite.This change is