From 95d46f53b888e614476985acc5e7836df8a3bb66 Mon Sep 17 00:00:00 2001 From: Lewin Bormann Date: Tue, 22 Mar 2022 18:31:39 +0100 Subject: [PATCH] Also feature-gate doc test for #170 --- src/authenticator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authenticator.rs b/src/authenticator.rs index 8c6e03d3c..f07f852fe 100644 --- a/src/authenticator.rs +++ b/src/authenticator.rs @@ -363,6 +363,7 @@ where /// Create an authenticator that uses an authorized user credentials. /// ``` +/// # #[cfg(any(feature = "hyper-rustls", feature = "hyper-tls"))] /// # async fn foo() { /// # use yup_oauth2::authenticator::AuthorizedUserAuthenticator; /// # let secret = yup_oauth2::read_authorized_user_secret("/tmp/foo").await.unwrap();