docs(core): add panics section
This commit is contained in:
1 parent
02c44c92d0
commit
becdb8f413
1 file changed
+4
@@ -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