Skip to content

Commit

Permalink
Remove alloc::prelude
Browse files Browse the repository at this point in the history
As per the libs team decision in rust-lang#58935.

Closes rust-lang#58935
  • Loading branch information
Amanieu committed Oct 14, 2021
1 parent 0134088 commit 44cce7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/alloc_example.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#![feature(start, core_intrinsics, alloc_prelude, alloc_error_handler, box_syntax)]
#![feature(start, core_intrinsics, alloc_error_handler, box_syntax)]
#![no_std]

extern crate alloc;
extern crate alloc_system;

use alloc::prelude::v1::*;
use alloc::boxed::Box;

use alloc_system::System;

Expand Down

0 comments on commit 44cce7a

Please sign in to comment.