We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
core::slice::fill
1 parent 6340607 commit c2281ccCopy full SHA for c2281cc
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,
library/std/src/lib.rs
@@ -304,7 +304,6 @@
304
#![feature(rustc_private)]
305
#![feature(shrink_to)]
306
#![feature(slice_concat_ext)]
307
-#![feature(slice_fill)]
308
#![feature(slice_internals)]
309
#![feature(slice_ptr_get)]
310
#![feature(slice_ptr_len)]
0 commit comments