Tracking issue for const_reverse
This commit is contained in:
parent
5e1730fd17
commit
ae2b1dbc89
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ impl<T> [T] {
|
|||
/// assert!(v == [3, 2, 1]);
|
||||
/// ```
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_unstable(feature = "const_reverse", issue = "none")]
|
||||
#[rustc_const_unstable(feature = "const_reverse", issue = "100784")]
|
||||
#[inline]
|
||||
pub const fn reverse(&mut self) {
|
||||
let half_len = self.len() / 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue