Skip to content

Commit 99f1dfe

Browse files
committed
fix rustdocs
1 parent 0936315 commit 99f1dfe

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

crates/stackable-webhook/src/options.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ impl Default for WebhookOptions {
5454

5555
impl 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)]
7070
pub 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 {

crates/stackable-webhook/src/tls/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ pub struct TlsServer {
7676
impl 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,

0 commit comments

Comments
 (0)