Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mod foo {
- pub struct Foo(i32);
- }
- use foo::Foo;
- fn bar(x: Foo) {
- let Foo(_) = x;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement