diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-07-16 22:11:46 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-07-16 23:15:07 +0300 |
| commit | 465ada623a32ba1fa99921ed5c4ef8ab503df827 (patch) | |
| tree | 756fa669b062b8a26b6017ad11076f0dda87b65d /src/liballoc | |
| parent | 8f1339af2e5d1b33ec9ee3c8a3c531bcd61770fc (diff) | |
| download | rust-465ada623a32ba1fa99921ed5c4ef8ab503df827.tar.gz rust-465ada623a32ba1fa99921ed5c4ef8ab503df827.zip | |
Fix checking for missing stability annotations
Remove couple of unnecessary `#![feature(staged_api)]`.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<T> { /// 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, |
