From 465ada623a32ba1fa99921ed5c4ef8ab503df827 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Sun, 16 Jul 2017 22:11:46 +0300 Subject: Fix checking for missing stability annotations Remove couple of unnecessary `#![feature(staged_api)]`. --- src/liballoc/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/liballoc') diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index b419aeb5ab5..80532bbdda1 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -244,10 +244,10 @@ mod std { pub enum Bound { /// An inclusive bound. #[stable(feature = "collections_bound", since = "1.17.0")] - Included(T), + Included(#[stable(feature = "collections_bound", since = "1.17.0")] T), /// An exclusive bound. #[stable(feature = "collections_bound", since = "1.17.0")] - Excluded(T), + Excluded(#[stable(feature = "collections_bound", since = "1.17.0")] T), /// An infinite endpoint. Indicates that there is no bound in this direction. #[stable(feature = "collections_bound", since = "1.17.0")] Unbounded, -- cgit 1.4.1-3-g733a5