about summary refs log tree commit diff
path: root/example/alloc_example.rs
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2021-10-15 01:41:31 +0200
committerAmanieu d'Antras <amanieu@gmail.com>2021-10-15 01:41:31 +0200
commit44cce7a4c878ca99451910dae960dc1b617da634 (patch)
tree41f8a42559a3887b4d8e433488f7736a4962e0b2 /example/alloc_example.rs
parent0134088cd2eed9a48fee853d52b44b019a46cb2f (diff)
downloadrust-44cce7a4c878ca99451910dae960dc1b617da634.tar.gz
rust-44cce7a4c878ca99451910dae960dc1b617da634.zip
Remove alloc::prelude
As per the libs team decision in #58935.

Closes #58935
Diffstat (limited to 'example/alloc_example.rs')
-rw-r--r--example/alloc_example.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/alloc_example.rs b/example/alloc_example.rs
index d0d492e9674..bc1594d82ec 100644
--- a/example/alloc_example.rs
+++ b/example/alloc_example.rs
@@ -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;