Add a tracking issue for new as_slice methods
This commit is contained in:
parent
51e0d1c299
commit
e478cadbbe
2 changed files with 2 additions and 2 deletions
|
@ -2481,7 +2481,7 @@ impl<'a, T> Drain<'a, T> {
|
|||
/// let _ = drain.next().unwrap();
|
||||
/// assert_eq!(drain.as_slice(), &['b', 'c']);
|
||||
/// ```
|
||||
#[unstable(feature = "vec_drain_as_slice", reason = "recently added", issue = "0")]
|
||||
#[unstable(feature = "vec_drain_as_slice", reason = "recently added", issue = "58957")]
|
||||
pub fn as_slice(&self) -> &[T] {
|
||||
self.iter.as_slice()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue