File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
crates/stackable-webhook/src Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,18 @@ impl Default for WebhookOptions {
5454
5555impl WebhookOptions {
5656 /// Returns the default [`OptionsBuilder`] which allows to selectively
57- /// customize the options. See the documentation for [`Options `] for more
57+ /// customize the options. See the documentation for [`WebhookOptions `] for more
5858 /// information on available functions.
5959 pub fn builder ( ) -> OptionsBuilder {
6060 OptionsBuilder :: default ( )
6161 }
6262}
6363
6464/// The [`OptionsBuilder`] which allows to selectively customize the webhook
65- /// server [`Options `].
65+ /// server [`WebhookOptions `].
6666///
6767/// Usually, this struct is not constructed manually, but instead by calling
68- /// [`Options ::builder()`] or [`OptionsBuilder::default()`].
68+ /// [`WebhookOptions ::builder()`] or [`OptionsBuilder::default()`].
6969#[ derive( Debug , Default ) ]
7070pub struct OptionsBuilder {
7171 socket_addr : Option < SocketAddr > ,
@@ -115,7 +115,7 @@ impl OptionsBuilder {
115115 self
116116 }
117117
118- /// Builds the final [`Options `] by using default values for any not
118+ /// Builds the final [`WebhookOptions `] by using default values for any not
119119 /// explicitly set option.
120120 pub fn build ( self ) -> WebhookOptions {
121121 WebhookOptions {
Original file line number Diff line number Diff line change @@ -76,9 +76,10 @@ pub struct TlsServer {
7676impl TlsServer {
7777 /// Create a new [`TlsServer`].
7878 ///
79- /// This creates a [`CertificateResolver`] with the provided `subject_alterative_dns_names`,
80- /// which takes care of the certificate rotation. Afterwards it create the [`ServerConfig`],
81- /// which let's the [`CertificateResolver`] provide the needed certificates.
79+ /// This internally creates a `CertificateResolver` with the provided
80+ /// `subject_alterative_dns_names`, which takes care of the certificate rotation. Afterwards it
81+ /// creates the [`ServerConfig`], which let's the `CertificateResolver` provide the needed
82+ /// certificates.
8283 #[ instrument( name = "create_tls_server" , skip( router) ) ]
8384 pub async fn new (
8485 router : Router ,
You can’t perform that action at this time.
0 commit comments