summaryrefslogtreecommitdiff
path: root/src/features.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2017-04-07 23:30:47 -0600
committerAlan Somers <asomers@gmail.com>2017-04-15 20:13:18 -0600
commitd3ad3c775ce55612aa0a754e010899990673661b (patch)
treed82245435de3c965e1df5eeffe48c5658eeac6e9 /src/features.rs
parent8c47de417e71d59b0248bc3df5886bc7c4410040 (diff)
downloadnix-d3ad3c775ce55612aa0a754e010899990673661b.zip
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 #575
Diffstat (limited to 'src/features.rs')
0 files changed, 0 insertions, 0 deletions