clippy
This commit is contained in:
@@ -247,7 +247,7 @@ impl ScriptHost {
|
||||
Dynamic::from(info.clone()),
|
||||
Dynamic::from(state.clone())
|
||||
];
|
||||
arg.map(|d| args.push(d));
|
||||
if let Some(d) = arg { args.push(d) }
|
||||
|
||||
// Call this with opts tagging this call as our id. The write API will read
|
||||
// that to find what queue to emit events to
|
||||
|
||||
Reference in New Issue
Block a user