Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit f19002f

Browse files
committed
Merge pull request #33 from bltavares/19064
19064
2 parents b7ecf8b + 30b84bf commit f19002f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/19064.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
struct Foo(pub str);
2+
3+
impl Foo {
4+
fn print(&self) {
5+
match self {
6+
&Foo(ref s) => println!("f\"{}\"", s),
7+
}
8+
}
9+
}
10+
11+
fn main() {}

0 commit comments

Comments
 (0)