cargo fmt

This commit is contained in:
Glenn Griffin
2019-11-08 15:25:52 -08:00
parent 2cf2e465d1
commit 4bd81c3263
10 changed files with 84 additions and 126 deletions

View File

@@ -10,14 +10,8 @@ async fn main() {
let sa = yup_oauth2::ServiceAccountAccess::new(creds).build();
let scopes = &["https://www.googleapis.com/auth/pubsub"];
let tok = sa
.token(scopes)
.await
.unwrap();
let tok = sa.token(scopes).await.unwrap();
println!("token is: {:?}", tok);
let tok = sa
.token(scopes)
.await
.unwrap();
let tok = sa.token(scopes).await.unwrap();
println!("cached token is {:?} and should be identical", tok);
}