From 952e5fa01272392fc93d43f5cfd996d3fad0e65b Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Mon, 27 Apr 2020 20:06:54 -0400 Subject: [PATCH] clippity clip clippy --- compiler/gen/src/llvm/convert.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/gen/src/llvm/convert.rs b/compiler/gen/src/llvm/convert.rs index ee42ce08ff..e9beac7620 100644 --- a/compiler/gen/src/llvm/convert.rs +++ b/compiler/gen/src/llvm/convert.rs @@ -155,7 +155,7 @@ pub fn collection(ctx: &Context, ptr_bytes: u32) -> StructType<'_> { } /// Two usize values. -pub fn collection_int_wrapper<'ctx>(ctx: &'ctx Context, ptr_bytes: u32) -> StructType<'ctx> { +pub fn collection_int_wrapper(ctx: &Context, ptr_bytes: u32) -> StructType<'_> { let usize_type = BasicTypeEnum::IntType(ptr_int(ctx, ptr_bytes)); ctx.struct_type(&[usize_type, usize_type], false)