Guest User

Untitled

a guest
Oct 17th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. mod bar {
  2. pub struct Foo {
  3. v: Void,
  4. }
  5.  
  6. enum Void {}
  7. }
  8.  
  9. fn foo(x: bar::Foo) -> i32 {
  10. match x {
  11. _ => 42,
  12. }
  13. }
Add Comment
Please, Sign In to add comment