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 {
54
54
55
55
impl WebhookOptions {
56
56
/// 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
58
58
/// information on available functions.
59
59
pub fn builder ( ) -> OptionsBuilder {
60
60
OptionsBuilder :: default ( )
61
61
}
62
62
}
63
63
64
64
/// The [`OptionsBuilder`] which allows to selectively customize the webhook
65
- /// server [`Options `].
65
+ /// server [`WebhookOptions `].
66
66
///
67
67
/// Usually, this struct is not constructed manually, but instead by calling
68
- /// [`Options ::builder()`] or [`OptionsBuilder::default()`].
68
+ /// [`WebhookOptions ::builder()`] or [`OptionsBuilder::default()`].
69
69
#[ derive( Debug , Default ) ]
70
70
pub struct OptionsBuilder {
71
71
socket_addr : Option < SocketAddr > ,
@@ -115,7 +115,7 @@ impl OptionsBuilder {
115
115
self
116
116
}
117
117
118
- /// Builds the final [`Options `] by using default values for any not
118
+ /// Builds the final [`WebhookOptions `] by using default values for any not
119
119
/// explicitly set option.
120
120
pub fn build ( self ) -> WebhookOptions {
121
121
WebhookOptions {
Original file line number Diff line number Diff line change @@ -76,9 +76,10 @@ pub struct TlsServer {
76
76
impl TlsServer {
77
77
/// Create a new [`TlsServer`].
78
78
///
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.
82
83
#[ instrument( name = "create_tls_server" , skip( router) ) ]
83
84
pub async fn new (
84
85
router : Router ,
You can’t perform that action at this time.
0 commit comments