diff --git a/google-apis-common/src/lib.rs b/google-apis-common/src/lib.rs index 194ef55201..71907cb8d2 100644 --- a/google-apis-common/src/lib.rs +++ b/google-apis-common/src/lib.rs @@ -25,7 +25,6 @@ use serde_json as json; use tokio::io::{AsyncRead, AsyncWrite}; use tokio::time::sleep; - pub use auth::{GetToken, NoToken}; pub use chrono; pub use field_mask::FieldMask; @@ -778,7 +777,7 @@ mod test_api { use std::str::FromStr; use ::serde::{Deserialize, Serialize}; - + use serde_json as json; #[test] diff --git a/google-apis-common/src/serde.rs b/google-apis-common/src/serde.rs index d2f1ef6922..29277f3f1a 100644 --- a/google-apis-common/src/serde.rs +++ b/google-apis-common/src/serde.rs @@ -261,10 +261,7 @@ mod test { fn urlsafe_base64_de_success_cases() { let wrapper: Base64Wrapper = serde_json::from_str(r#"{"bytes": "aGVsbG8gd29ybGQ="}"#).unwrap(); - assert_eq!( - Some(b"hello world".as_slice()), - wrapper.bytes.as_deref() - ); + assert_eq!(Some(b"hello world".as_slice()), wrapper.bytes.as_deref()); } #[test]