Skip to content

Commit 3ebcc82

Browse files
committed
Improve rustdoc
1 parent c6cae70 commit 3ebcc82

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

crates/stackable-operator/src/role_utils.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,12 @@ impl JvmArgumentOverrides {
219219
}
220220
}
221221

222-
/// Returns all arguments that should be passed to the JVM.
222+
/// Called on **merged** [`JvmArgumentOverrides`}, returns all arguments that should be passed to the JVM.
223223
///
224-
/// **Can only be called on merged config, it will panic otherwise**
224+
/// **Can only be called on merged config, it will panic otherwise!**
225+
///
226+
/// We are panicking (instead of returning an Error), because this is not the users fault, but
227+
/// the operator is doing things wrong
225228
pub fn effective_jvm_config_after_merging(&self) -> &Vec<String> {
226229
assert!(
227230
self.remove.is_empty(),

0 commit comments

Comments
 (0)