diff options
| author | dylni <46035563+dylni@users.noreply.github.com> | 2020-08-16 21:47:12 -0400 |
|---|---|---|
| committer | dylni <46035563+dylni@users.noreply.github.com> | 2020-08-16 21:47:12 -0400 |
| commit | d04e6b8de5fe6bbf203c534c35e6f55e8960ab46 (patch) | |
| tree | c089016b8e43034b0809767b0787b8fa29076405 /library/alloc/src/lib.rs | |
| parent | ed02b90e9b76b9ce2e8e99a99dbadd96ab4dfb42 (diff) | |
| download | rust-d04e6b8de5fe6bbf203c534c35e6f55e8960ab46.tar.gz rust-d04e6b8de5fe6bbf203c534c35e6f55e8960ab46.zip | |
Replace ad hoc implementations with `slice::check_range`
Diffstat (limited to 'library/alloc/src/lib.rs')
| -rw-r--r-- | library/alloc/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 9ac23886d4e..514b0bf918a 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -114,6 +114,7 @@ #![feature(rustc_attrs)] #![feature(receiver_trait)] #![feature(min_specialization)] +#![feature(slice_check_range)] #![feature(slice_ptr_get)] #![feature(slice_ptr_len)] #![feature(staged_api)] |
