Skip to content

Deprecate the VecLike trait #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2017
Merged

Deprecate the VecLike trait #74

merged 1 commit into from
Nov 29, 2017

Conversation

mbrubeck
Copy link
Collaborator

@mbrubeck mbrubeck commented Nov 29, 2017

This is an update of PR #35.

This trait is redundant with existing traits like Extend and Deref. Its purpose is unclear (you can do a few things with it, but not much) and the one use case I know of has been removed (servo/servo#19424).


This change is Reviewable

This trait is redundant with existing traits like `Extend` and `Deref`.
@jdm
Copy link
Member

jdm commented Nov 29, 2017

@bors-servo: r+

@bors-servo
Copy link
Contributor

📌 Commit eefbdfa has been approved by jdm

bors-servo pushed a commit that referenced this pull request Nov 29, 2017
Deprecate the VecLike trait

This is an update of PR #35.

This trait is redundant with existing traits like `Extend` and `Deref`.  Its purpose is unclear (you can do a few things with it, but not much) and the one use case I know of has been removed (servo/servo#19424).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/74)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

⌛ Testing commit eefbdfa with merge 3d42c6d...

@bors-servo
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: jdm
Pushing 3d42c6d to master...

@bors-servo bors-servo merged commit eefbdfa into servo:master Nov 29, 2017
@mbrubeck mbrubeck mentioned this pull request Nov 30, 2017
bors-servo pushed a commit that referenced this pull request Dec 1, 2017
Version 0.6.0

Includes these changes since the last release:

* Breaking change: Remove deprecated `SmallVecN` type aliases and `push_all_move` method (#77)
* Breaking change: Make `retain` pass `&mut T` to its predicate (#61)
* Add new methods `dedup`, `dedup_by`, and `dedup_by_key` (#72)
* Deprecate the `VecLike` trait in favor of standard library traits (#74)
* Optimize the `Clone` and `Deserialize` implementations to avoid unnecessary reallocation (#71)
* Optimize `extend_from_slice` and `insert_from_slice` to use `copy_nonoverlapping` (#76)
* Include the text of the Mozilla Public License in the source repo (#69)
* Improved documentation (#75)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-smallvec/78)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants