Skip to content

Commit a7447f3

Browse files
bonziniBennoLossin
authored andcommitted
examples: remove unnecessary feature
The big_struct_in_place example only uses init!, which has no dependency on the allocator API (which provides the functionality of fallible initialization). Do not enable allocator_api. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 9270af1 commit a7447f3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

examples/big_struct_in_place.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![feature(allocator_api)]
2-
31
use pinned_init::*;
42

53
// Struct with size over 1GiB

0 commit comments

Comments
 (0)