From 3d55592b98aa4e1687e93510e1a02dadb4ae29a0 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 24 May 2018 21:21:51 +0000 Subject: [PATCH] Remove #![feature(slice_rotate)], as it is stable since Rust 1.26. --- README.md | 2 +- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 5af4074..3a48300 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ on the `alloc` crate. This only works on nightly rustc. The `map` feature, disabled by default, enables the `ManagedMap` enum. Its interface is not stable yet and is subject to change. -It also requires the use of a nightly compiler. +It also requires the use of a nightly compiler, 1.27 or later. Usage ----- diff --git a/src/lib.rs b/src/lib.rs index 320edd0..bf1c995 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,5 @@ #![no_std] #![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))] -#![cfg_attr(feature = "map", feature(slice_rotate))] #![cfg_attr(feature = "map", feature(collections_range))] //! A library that provides a way to logically own objects, whether or not