Skip to content

Commit

Permalink
Also feature-gate doc test for #170
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Mar 22, 2022
1 parent 35a3117 commit 95d46f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/authenticator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 95d46f5

Please sign in to comment.