Repository navigation
Vec box fix - #742
Vec box fix#742alejandro-vaz wants to merge 12 commits into
Conversation
Signed-off-by: Alejandro Vaz <alejandro.vaz.myt@gmail.com>
|
Does this support |
|
oh what we finally agreed on is that the only collections that were going to be supported were going to be the ones in that sort of feature I'm not sure where nor with whom because if another type was needed then the downstream crate could simply do |
|
and it is so rare that a crate uses an allocator-api2 allocator on a smallvec but that would want a normal allocator on a vec, it just doesn't make sense |
|
Should we consider how this appears in docs? pub fn from_vec(vec: <Vec<T, Global> as Like>::Type) -> Selfaren't very friendly. |
|
I'm also not conviced that this is any more readable/maintainable than just using |
yeah we should, more or less. but we should be preoccupied with that on rc, not on beta. half of our documentation is unspecified / broken right now anyway if necessary we can later tell docsrs what we want it to know
I haven't yet implemented the we'd just have one implementation that does it and that's it, without we having to worry about three different implementations with |
this PR is a draft
it builds upon #739, that should be merged first. this is why the PR looks so bloated now