mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
refactor: replace Vec<T> with &[T] in function parameters (codeberg #7)
Reviewed-on: https://codeberg.org/iff/pay-respects/pulls/7 Co-authored-by: Integral <integral@member.fsf.org> Co-committed-by: Integral <integral@member.fsf.org>
This commit is contained in:
parent
7c74d13705
commit
7c7cc4d285
5 changed files with 7 additions and 11 deletions
|
|
@ -238,11 +238,7 @@ pub fn shell(suggest: &mut String, cmd_list: &mut Vec<String>) {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn shell_tag(
|
||||
suggest: &mut String,
|
||||
replace_list: &mut Vec<TokenStream2>,
|
||||
cmd_list: Vec<String>,
|
||||
) {
|
||||
pub fn shell_tag(suggest: &mut String, replace_list: &mut Vec<TokenStream2>, cmd_list: &[String]) {
|
||||
let mut replace_tag = 0;
|
||||
let tag_name = "shell";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue