mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
slice_patterns is stable now
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#![feature(slice_patterns)]
|
||||
|
||||
fn bar(a: &'static str, b: &'static str) -> [&'static str; 4] {
|
||||
[a, b, b, a]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user