We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 274e299 commit f51b681Copy full SHA for f51b681
library/core/src/slice/mod.rs
@@ -3219,7 +3219,7 @@ impl<T> Default for &mut [T] {
3219
}
3220
3221
3222
-#[unstable(feature = "x", issue = "none")]
+#[unstable(feature = "slice_pattern", reason = "stopgap trait for slice patterns", issue = "56345")]
3223
/// Patterns in slices - currently, only used by `strip_prefix` and `strip_suffix`. At a future
3224
/// point, we hope to generalise `core::str::Pattern` (which at the time of writing is limited to
3225
/// `str`) to slices, and then this trait will be replaced or abolished.
0 commit comments