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

Add AioCb::from_boxed_slice #582

Merged
merged 1 commit into from
Apr 16, 2017
Merged

Add AioCb::from_boxed_slice #582

merged 1 commit into from
Apr 16, 2017

Commits on Apr 16, 2017

  1. Add AioCb::from_boxed_slice

    The existing AioCb constructors work for simple programs where
    everything is stored on the stack.  But in more complicated programs the
    borrow checker can't prove that a buffer will outlive the AioCb that
    references it.  Fix this problem by introducting
    AioCb::from_boxed_slice, which takes a reference-counted buffer.
    
    Fixes nix-rust#575
    asomers committed Apr 16, 2017
    Configuration menu
    Copy the full SHA
    d3ad3c7 View commit details
    Browse the repository at this point in the history