stevenrwalter

Untitled

May 5th, 2015
444
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.09 KB | None | 0 0
  1. fn foo () -> Result<File, Error> {
  2.     let file = try!(File::open("foo.txt"));
  3.     Ok(file)
  4. }
Advertisement
Add Comment
Please, Sign In to add comment