Skip to content

Commit 98f0580

Browse files
committed
Remove alloc::prelude
As per the libs team decision in rust-lang#58935. Closes rust-lang#58935
1 parent 775b6da commit 98f0580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/alloc_example.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#![feature(start, box_syntax, core_intrinsics, alloc_prelude, alloc_error_handler)]
1+
#![feature(start, box_syntax, core_intrinsics, alloc_error_handler)]
22
#![no_std]
33

44
extern crate alloc;
55
extern crate alloc_system;
66

7-
use alloc::prelude::v1::*;
7+
use alloc::boxed::Box;
88

99
use alloc_system::System;
1010

0 commit comments

Comments
 (0)