Skip to content
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

feat: Add splice #195

Closed
wants to merge 2 commits into from
Closed

feat: Add splice #195

wants to merge 2 commits into from

Commits on Jan 8, 2020

  1. feat: Add splice

    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`.
    Marwes committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    4a486c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    021498d View commit details
    Browse the repository at this point in the history