about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-08-30 10:35:50 +0800
committerIvan Tham <pickfire@riseup.net>2020-11-06 23:41:55 +0800
commite8b5be5dffef9ef6a15a085e4b06c4a0471f360d (patch)
tree2bc1c88459052ce4effb6fbb1126d7cc2b006154 /library/alloc/src
parent9f6c670c4b4273b2c7c0af07a524d4240c926bfc (diff)
downloadrust-e8b5be5dffef9ef6a15a085e4b06c4a0471f360d.tar.gz
rust-e8b5be5dffef9ef6a15a085e4b06c4a0471f360d.zip
Stabilize hint::spin_loop
Partially fix #55002, deprecate in another release

Co-authored-by: Ashley Mannix <kodraus@hey.com>

Update stable version for stabilize_spin_loop

Co-authored-by: Joshua Nelson <joshua@yottadb.com>

Use better example for spinlock

As suggested by KodrAus

Remove renamed_spin_loop already available in master

Fix spin loop example
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 0fe15958076..ccabc336acc 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -119,7 +119,6 @@
 #![feature(raw_ref_op)]
 #![feature(rustc_attrs)]
 #![feature(receiver_trait)]
-#![feature(renamed_spin_loop)]
 #![feature(min_specialization)]
 #![feature(slice_ptr_get)]
 #![feature(slice_ptr_len)]