Skip to content

Commit

Permalink
Fix cargo doc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ramosbugs committed Jun 4, 2023
1 parent 4e8d564 commit a60fc2e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ where
/// Acquires ownership of the `code` because authorization codes may only be used once to
/// retrieve an access token from the authorization server.
///
/// See https://tools.ietf.org/html/rfc6749#section-4.1.3
/// See <https://tools.ietf.org/html/rfc6749#section-4.1.3>
///
pub fn exchange_code(&self, code: AuthorizationCode) -> CodeTokenRequest<TE, TR, TT> {
self.oauth2_client.exchange_code(code)
Expand Down Expand Up @@ -1114,7 +1114,7 @@ where
///
/// Creates a request builder for exchanging a refresh token for an access token.
///
/// See https://tools.ietf.org/html/rfc6749#section-6
/// See <https://tools.ietf.org/html/rfc6749#section-6>
///
pub fn exchange_refresh_token<'a, 'b>(
&'a self,
Expand All @@ -1129,7 +1129,7 @@ where
///
/// Creates a request builder for exchanging credentials for an access token.
///
/// See https://tools.ietf.org/html/rfc6749#section-6
/// See <https://tools.ietf.org/html/rfc6749#section-6>
///
pub fn exchange_password<'a, 'b>(
&'a self,
Expand All @@ -1145,7 +1145,7 @@ where
///
/// Creates a request builder for exchanging client credentials for an access token.
///
/// See https://tools.ietf.org/html/rfc6749#section-4.4
/// See <https://tools.ietf.org/html/rfc6749#section-4.4>
///
pub fn exchange_client_credentials<'a, 'b>(
&'a self,
Expand Down Expand Up @@ -1194,7 +1194,7 @@ where
///
/// Creates a request builder for obtaining metadata about a previously received token.
///
/// See https://tools.ietf.org/html/rfc7662
/// See <https://tools.ietf.org/html/rfc7662>
///
pub fn introspect<'a>(
&'a self,
Expand All @@ -1212,7 +1212,7 @@ where
/// Attempting to submit the generated request without calling [`set_revocation_uri()`](Self::set_revocation_uri())
/// first will result in an error.
///
/// See https://tools.ietf.org/html/rfc7009
/// See <https://tools.ietf.org/html/rfc7009>
///
pub fn revoke_token(
&self,
Expand Down
2 changes: 1 addition & 1 deletion src/logout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl<A> AdditionalProviderMetadata for LogoutProviderMetadata<A> where A: Additi
///
/// Provider metadata returned by [OpenID Connect Discovery](
/// https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata)
/// that returns [`openidconnect::ProviderMetadata::additional_metadata`] for providers
/// that returns [`ProviderMetadata::additional_metadata`] for providers
/// implementing [OpenID Connect RP-Initiated Logout 1.0](
/// https://openid.net/specs/openid-connect-rpinitiated-1_0.html).
///
Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ pub struct ResponseTypes<RT: ResponseType>(
);
impl<RT: ResponseType> ResponseTypes<RT> {
///
/// Create a new ResponseTypes<RT> to wrap the given Vec<RT>.
/// Create a new [`ResponseTypes<RT>`] to wrap the given [`Vec<RT>`].
///
pub fn new(s: Vec<RT>) -> Self {
ResponseTypes::<RT>(s)
Expand Down

0 comments on commit a60fc2e

Please sign in to comment.