Comply with clippyg

This commit is contained in:
Chad Stearns 2020-08-10 02:10:04 -04:00
parent 2d25f3db1b
commit 76a31fb945

View file

@ -1164,7 +1164,7 @@ fn incrementing_index_loop<'ctx, LoopFn>(
mut loop_fn: LoopFn,
) -> PointerValue<'ctx>
where
LoopFn: FnMut(IntValue<'ctx>) -> (),
LoopFn: FnMut(IntValue<'ctx>),
{
let index_alloca = match maybe_alloca {
None => builder.build_alloca(ctx.i64_type(), index_name),