-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To mirror https://doc.rust-lang.org/alloc/vec/struct.Vec.html#method.splice . The implementation is a straight copy of `Vec`s implementation, only altered to call `len()/reserve()` instead of accessing the internal `len` and `buf` field respectively as those do not exist in `SmallVec`. An extra type parameter were also required for `Drain`.
- Loading branch information
Showing
1 changed file
with
158 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters