mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
Remove unneeded &
This commit is contained in:
parent
ead329db60
commit
a91689e211
1 changed files with 2 additions and 2 deletions
|
@ -4398,7 +4398,7 @@ fn ast_parse_ffi(src: &CxxWString, flags: u8, errors: *mut ParseErrorList) -> Bo
|
||||||
Some(unsafe { &*errors }.clone())
|
Some(unsafe { &*errors }.clone())
|
||||||
};
|
};
|
||||||
let ast = Box::new(Ast::parse(
|
let ast = Box::new(Ast::parse(
|
||||||
&src.as_wstr(),
|
src.as_wstr(),
|
||||||
ParseTreeFlags(flags),
|
ParseTreeFlags(flags),
|
||||||
&mut out_errors,
|
&mut out_errors,
|
||||||
));
|
));
|
||||||
|
@ -4419,7 +4419,7 @@ fn ast_parse_argument_list_ffi(
|
||||||
Some(unsafe { &*errors }.clone())
|
Some(unsafe { &*errors }.clone())
|
||||||
};
|
};
|
||||||
let ast = Box::new(Ast::parse_argument_list(
|
let ast = Box::new(Ast::parse_argument_list(
|
||||||
&src.as_wstr(),
|
src.as_wstr(),
|
||||||
ParseTreeFlags(flags),
|
ParseTreeFlags(flags),
|
||||||
&mut out_errors,
|
&mut out_errors,
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue