about summary refs log tree commit diff
path: root/src/libstd/sys/unix/rand.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-06 17:19:05 +0000
committerbors <bors@rust-lang.org>2019-08-06 17:19:05 +0000
commit6a91782b72fca586b15ba68364bc7baab837af86 (patch)
treec2d7defbb6eeffcdbd391b6e22331ba8885198fe /src/libstd/sys/unix/rand.rs
parent188ab5c976a5696ac710b7ba78849ef5dcf0235a (diff)
parent32324d22c33dda31eadf49c5f27d6e6ff38a3ef1 (diff)
downloadrust-6a91782b72fca586b15ba68364bc7baab837af86.tar.gz
rust-6a91782b72fca586b15ba68364bc7baab837af86.zip
Auto merge of #61515 - shepmaster:boxed-slice-to-array, r=cramertj
Add implementations for converting boxed slices into boxed arrays

This mirrors the implementations of reference slices into arrays.

# Discussion

- [x] Should we use const generics? ([probably not](https://github.com/rust-lang/rust/pull/61515#issuecomment-498690649))
- [ ] [What's the safety rationale here](https://github.com/rust-lang/rust/pull/61515#discussion_r290296613)?
- [ ] [Should the errors return the original object](https://github.com/rust-lang/rust/pull/61515#discussion_r290336592)?

# Remaining

- [ ] Implement `Error`
- [ ] Create a tracking issue
Diffstat (limited to 'src/libstd/sys/unix/rand.rs')
0 files changed, 0 insertions, 0 deletions