8000
  • Make `CowArray` an owned storage array, require Clone bound for `into_shared` by jturner314 · Pull Request #1028 · rust-ndarray/ndarray · GitHub
    [go: up one dir, main page]

    Skip to content

    Make CowArray an owned storage array, require Clone bound for into_shared#1028

    Merged
    bluss merged 2 commits intorust-ndarray:masterfrom
    jturner314:cowrepr-dataowned
    Aug 2, 2024
    Merged

    Make CowArray an owned storage array, require Clone bound for into_shared#1028
    bluss merged 2 commits intorust-ndarray:masterfrom
    jturner314:cowrepr-dataowned

    Conversation

    @jturner314
    Copy link
    Member
    @jturner314 jturner314 commented Jun 5, 2021

    Add A: Clone bound to into_shared and implement DataOwned for CowRepr

    See #1027 regarding the A: Clone bound for into_shared.

    I've marked this PR as a draft because it would be good to add some tests using CowArray for methods with a S: DataOwned bound.

    @bluss
    Copy link
    Member
    bluss commented Aug 2, 2024

    rebased

    @bluss bluss force-pushed the cowrepr-dataowned branch from de793b3 to 9681aba Compare August 2, 2024 19:49
    @bluss bluss changed the title Add A: Clone bound to into_shared and implement DataOwned for CowRepr Make CowArray an owned storage array, require Clone bound for into_shared Aug 2, 2024
    @bluss bluss changed the title Make CowArray an owned storage array, require Clone bound for into_shared Make CowArray an owned storage array, require Clone bound for into_shared Aug 2, 2024
    @bluss bluss marked this pull request as ready for review August 2, 2024 20:30
    @bluss
    Copy link
    Member
    bluss commented Aug 2, 2024

    Thanks for this. Accepting without new tests 😉

    @bluss bluss added this pull request to the merge queue Aug 2, 2024
    Merged via the queue into rust-ndarray:master with commit e29a524 Aug 2, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants

    0