Skip to content

Commit 095ef8c

Browse files
committed
fix: Address cargo-doc warnings
1 parent 4e7670d commit 095ef8c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rust/operator-binary/src/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub struct SecretVolumeSelector {
101101
#[serde(flatten)]
102102
pub names: NamingOptions,
103103

104-
/// The TLS cert lifetime (when using the [`tls`] backend).
104+
/// The TLS cert lifetime (when using the [`auto_tls`] backend).
105105
/// The format is documented in <https://docs.stackable.tech/home/nightly/concepts/duration>.
106106
#[serde(
107107
rename = "secrets.stackable.tech/backend.autotls.cert.lifetime",

rust/operator-binary/src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ where
246246
}
247247

248248
pub trait ResultExt<T, E> {
249-
/// Transforms this [`Result<T, E>`] into [`Ok(Some(T))`] if [`Ok`], [`Ok(None)`] if [`Err`] and
250-
/// `predicate` is `true` or [`Err(_)`] if [`Err`].
249+
/// Transforms this [`Result<T, E>`] into `Ok(Some(T))` if [`Ok`], `Ok(None)` if [`Err`] and
250+
/// `predicate` is `true` or `Err(_)` if [`Err`].
251251
///
252252
/// This basically applies [`Result::ok`] only if `predicate` is `true`.
253253
fn ok_if(self, predicate: bool) -> Result<Option<T>, E>;

0 commit comments

Comments
 (0)