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;