Skip to content

Commit 494ae45

Browse files
committed
1 parent a1b9ed7 commit 494ae45

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/26510.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#![feature(slice_patterns)]
2+
fn main() {
3+
let buf = [0u8; 4];
4+
match &buf {
5+
&[0, 1, 0, 0] => (),
6+
b"true" => (),
7+
_ => ()
8+
}
9+
}

0 commit comments

Comments
 (0)