diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2021-10-15 01:41:31 +0200 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2021-10-15 01:41:31 +0200 |
| commit | 98f0580cdbf23905aea830201f75ec1dc94838c7 (patch) | |
| tree | 61a33c7cd58b3a74265027a79fc0961ea935787f /example | |
| parent | 775b6daf0f4120cf0ba8f8a6475f23e9b6fffd91 (diff) | |
| download | rust-98f0580cdbf23905aea830201f75ec1dc94838c7.tar.gz rust-98f0580cdbf23905aea830201f75ec1dc94838c7.zip | |
Remove alloc::prelude
As per the libs team decision in #58935. Closes #58935
Diffstat (limited to 'example')
| -rw-r--r-- | example/alloc_example.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/alloc_example.rs b/example/alloc_example.rs index bc6dd007ba0..74ea7ec4ede 100644 --- a/example/alloc_example.rs +++ b/example/alloc_example.rs @@ -1,10 +1,10 @@ -#![feature(start, box_syntax, core_intrinsics, alloc_prelude, alloc_error_handler)] +#![feature(start, box_syntax, core_intrinsics, alloc_error_handler)] #![no_std] extern crate alloc; extern crate alloc_system; -use alloc::prelude::v1::*; +use alloc::boxed::Box; use alloc_system::System; |
