We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
core::slice::fill
1 parent 28b86e0 commit 52eade1Copy full SHA for 52eade1
library/core/src/slice/mod.rs
@@ -2581,14 +2581,12 @@ impl<T> [T] {
2581
/// # Examples
2582
///
2583
/// ```
2584
- /// #![feature(slice_fill)]
2585
- ///
2586
/// let mut buf = vec![0; 10];
2587
/// buf.fill(1);
2588
/// assert_eq!(buf, vec![1; 10]);
2589
2590
#[doc(alias = "memset")]
2591
- #[unstable(feature = "slice_fill", issue = "70758")]
+ #[stable(feature = "slice_fill", since = "1.50.0")]
2592
pub fn fill(&mut self, value: T)
2593
where
2594
T: Clone,
0 commit comments