Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. fn main() {
  2.  
  3. }
  4.  
  5. fn foo() {
  6. let x = match File::open("path") {
  7. Ok(f) => f,
  8. Err(e) return e,
  9. };
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement