From 6aca7fbae5aacfd6c2173d5a0a88a594bc56efc3 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Thu, 24 Feb 2022 13:42:09 +0100 Subject: [PATCH] for #169: also fix a doc test --- src/authenticator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authenticator.rs b/src/authenticator.rs index 4064b30..68676b3 100644 --- a/src/authenticator.rs +++ b/src/authenticator.rs @@ -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;