slice_patterns is stable now

This commit is contained in:
Ralf Jung
2020-01-19 10:03:18 -06:00
parent 6a0f14bef7
commit b2303a7da1
5 changed files with 1 additions and 9 deletions
-2
View File
@@ -1,5 +1,3 @@
#![feature(slice_patterns)]
fn bar(a: &'static str, b: &'static str) -> [&'static str; 4] {
[a, b, b, a]
}