Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. match write!(…) {
  2. Err(e) => return Err(e),
  3. Ok(()) => {
  4. match write!(…) {
  5. Err(e) => return Err(e),
  6. Ok(()) => (),
  7. }
  8. },
  9. }
  10.  
  11. // Short form with ? syntax sugar:
  12.  
  13. write!(…)?;
  14. write!(…)?;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement