summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authordylni <46035563+dylni@users.noreply.github.com>2020-09-18 12:17:51 -0400
committerdylni <46035563+dylni@users.noreply.github.com>2020-09-18 12:17:51 -0400
commit1ff7da6551a7cdf6ace2a9d00e92bbab550334ee (patch)
tree83dfb35cedd5a32e6044bfb12c03d38a907b5b00 /library/alloc/src/lib.rs
parent2c69266c0697b0c0b34abea62cba1a1d3c59c90c (diff)
downloadrust-1ff7da6551a7cdf6ace2a9d00e92bbab550334ee.tar.gz
rust-1ff7da6551a7cdf6ace2a9d00e92bbab550334ee.zip
Move `slice::check_range` to `RangeBounds`
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 7881c101f9f..002c7702779 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -116,11 +116,11 @@
 #![feature(or_patterns)]
 #![feature(pattern)]
 #![feature(ptr_internals)]
+#![feature(range_bounds_for_length)]
 #![feature(raw_ref_op)]
 #![feature(rustc_attrs)]
 #![feature(receiver_trait)]
 #![feature(min_specialization)]
-#![feature(slice_check_range)]
 #![feature(slice_ptr_get)]
 #![feature(slice_ptr_len)]
 #![feature(staged_api)]