for #169: also fix a doc test

This commit is contained in:
Lewin Bormann
2022-02-24 13:42:09 +01:00
parent 3e6d260e97
commit 6aca7fbae5

View File

@@ -278,7 +278,7 @@ impl ServiceAccountAuthenticator {
/// Create an authenticator that uses a application default credentials.
/// ```
/// # #[cfg(any(feature = "hyper-rustls", feature = "hyper-tls"))]
/// # #[cfg(all(any(feature = "hyper-rustls", feature = "hyper-tls"), feature = "service_account"))]
/// # async fn foo() {
/// # use yup_oauth2::ApplicationDefaultCredentialsAuthenticator;
/// # use yup_oauth2::ApplicationDefaultCredentialsFlowOpts;