where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)
This commit is contained in:
parent
b9c403be11
commit
bdc9291ed9
13 changed files with 21 additions and 27 deletions
|
@ -522,7 +522,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
|||
mut bx: Bx,
|
||||
terminator: &mir::Terminator<'tcx>,
|
||||
func: &mir::Operand<'tcx>,
|
||||
args: &Vec<mir::Operand<'tcx>>,
|
||||
args: &[mir::Operand<'tcx>],
|
||||
destination: &Option<(mir::Place<'tcx>, mir::BasicBlock)>,
|
||||
cleanup: Option<mir::BasicBlock>,
|
||||
fn_span: Span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue