diff options
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/src/program.rs | 2 | ||||
| -rw-r--r-- | mingling_core/src/program/exec.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mingling_core/src/program.rs b/mingling_core/src/program.rs index f305e88..4d943cf 100644 --- a/mingling_core/src/program.rs +++ b/mingling_core/src/program.rs @@ -474,5 +474,5 @@ pub fn get_nodes<C: ProgramCollect<Enum = C>>( } } - return r; + r } diff --git a/mingling_core/src/program/exec.rs b/mingling_core/src/program/exec.rs index 9cb2892..001b250 100644 --- a/mingling_core/src/program/exec.rs +++ b/mingling_core/src/program/exec.rs @@ -137,6 +137,7 @@ where /// Match user input against registered dispatchers and return the matched dispatcher and remaining arguments. #[allow(clippy::type_complexity)] +#[allow(clippy::ptr_arg)] pub(crate) fn match_user_input<C>( program: &'static Program<C>, args: &Vec<String>, |
