Skip to content

Commit 19cc050

Browse files
committed
(fix) clippy warnings on scripting feature
1 parent 44d1674 commit 19cc050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/scripting.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub struct ScriptHelper {
1919

2020
#[inline]
2121
fn call_script_helper<'reg: 'rc, 'rc>(
22-
params: &Vec<PathAndJson<'reg, 'rc>>,
22+
params: &[PathAndJson<'reg, 'rc>],
2323
hash: &BTreeMap<&'reg str, PathAndJson<'reg, 'rc>>,
2424
engine: &Engine,
2525
script: &AST,

0 commit comments

Comments
 (0)