docs(core): add panics section
This commit is contained in:
@@ -48,6 +48,10 @@ impl Pacdef {
|
|||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// This function propagates errors from the underlying functions.
|
/// This function propagates errors from the underlying functions.
|
||||||
|
///
|
||||||
|
/// # Panics
|
||||||
|
///
|
||||||
|
/// This function panics if the `args` field is `None`.
|
||||||
#[allow(clippy::unit_arg)]
|
#[allow(clippy::unit_arg)]
|
||||||
pub fn run_action_from_arg(mut self) -> Result<()> {
|
pub fn run_action_from_arg(mut self) -> Result<()> {
|
||||||
match self
|
match self
|
||||||
|
|||||||
Reference in New Issue
Block a user