Skip to content

Commit

Permalink
docs: mark items related to Builder::authenticate2 as #[doc(hidden)]
Browse files Browse the repository at this point in the history
Plus fix doc comments.
  • Loading branch information
denis2glez committed Nov 17, 2023
1 parent 5c5b728 commit a6905ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/transport/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ where
/// ## Alternative state
///
/// This function is an alternative code path to [`Builder::authenticate`]
/// given the supplied upgrade implements `SecurityUpgrade` instead of
/// `InboundConnectionUpgrade`/`OutboundConnectionUpgrade`.
/// given the supplied upgrade implements `InboundSecurityUpgrade`/`OutboundSecurityUpgrade`
/// instead of `InboundConnectionUpgrade`/`OutboundConnectionUpgrade`.
#[doc(hidden)]
pub fn authenticate2<C, D, U, E>(
self,
upgrade: U,
Expand Down Expand Up @@ -166,6 +167,7 @@ where
/// in the context of negotiating a secure channel.
///
/// Configured through [`Builder::authenticate`].
#[doc(hidden)]
#[pin_project::pin_project]
pub struct Authenticate<C, U>
where
Expand Down

0 comments on commit a6905ba

Please sign in to comment.