docs(core): add panics section

This commit is contained in:
steven-omaha
2023-10-10 15:32:14 +02:00
parent 02c44c92d0
commit becdb8f413
+4
View File
@@ -48,6 +48,10 @@ impl Pacdef {
/// # Errors
///
/// This function propagates errors from the underlying functions.
///
/// # Panics
///
/// This function panics if the `args` field is `None`.
#[allow(clippy::unit_arg)]
pub fn run_action_from_arg(mut self) -> Result<()> {
match self