Merge pull request #103 from Gankro/layout-array

Use the alloc_layout_extra feature for Layout::array::<T>
pull/104/head
Steve Klabnik 6 years ago committed by GitHub
commit cf92c5c409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,6 +3,7 @@
```rust ```rust
#![feature(ptr_internals)] #![feature(ptr_internals)]
#![feature(allocator_api)] #![feature(allocator_api)]
#![feature(alloc_layout_extra)]
use std::ptr::{Unique, NonNull, self}; use std::ptr::{Unique, NonNull, self};
use std::mem; use std::mem;

Loading…
Cancel
Save