Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. pub fn authorize(&mut self, foo: Foo) -> Result<(), AuthError> {
  2. self.connection.auth = match Auth::new(&self.connection, foo: Foo) {
  3. Ok(auth) => auth,
  4. Err(err) => return Err(err),
  5. };
  6.  
  7. Ok(())
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement