Fix checking for missing stability annotations

Remove couple of unnecessary `#![feature(staged_api)]`.
This commit is contained in:
Vadim Petrochenkov
2017-07-16 22:11:46 +03:00
parent 8f1339af2e
commit 465ada623a
6 changed files with 24 additions and 7 deletions

View File

@@ -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,