add feature gate in doc test
This commit is contained in:
parent
1112274275
commit
9c1255f0a4
1 changed files with 2 additions and 0 deletions
|
|
@ -742,6 +742,8 @@ impl<T: Copy> Bound<&T> {
|
|||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(bound_copied)]
|
||||
///
|
||||
/// use std::ops::Bound::*;
|
||||
/// use std::ops::RangeBounds;
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue