Remove Rc from Parser's vars

This will help enable Parser to be Send, which will be important for
concurrent execution.
This commit is contained in:
Peter Ammon
2025-06-14 13:50:55 -07:00
parent 6f18a362e6
commit 2104f8a18a
8 changed files with 11 additions and 20 deletions

View File

@@ -5902,7 +5902,7 @@ fn try_expand_wildcard(
const TAB_COMPLETE_WILDCARD_MAX_EXPANSION: usize = 256;
let ctx = OperationContext::background_with_cancel_checker(
&*parser.variables,
&parser.variables,
Box::new(|| signal_check_cancel() != 0),
TAB_COMPLETE_WILDCARD_MAX_EXPANSION,
);