Skip to content

Commit

Permalink
Tracking issue for const_reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
clarfonthey committed Aug 20, 2022
1 parent 5e1730f commit ae2b1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae2b1db

Please sign in to comment.