mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Remove unnecessary lifetime annotations
This commit is contained in:
parent
d0a1adfef9
commit
d9fe38efce
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ pub fn basic_type_from_layout<'ctx>(
|
|||
/// The order of these doesn't matter, since they should be initialized
|
||||
/// to zero anyway for an empty collection; as such, we return a
|
||||
/// (usize, usize) struct layout no matter what.
|
||||
pub fn empty_collection<'ctx>(ctx: &'ctx Context, ptr_bytes: u32) -> StructType<'ctx> {
|
||||
pub fn empty_collection(ctx: &Context, ptr_bytes: u32) -> StructType<'_> {
|
||||
let usize_type = BasicTypeEnum::IntType(ptr_int(ctx, ptr_bytes));
|
||||
|
||||
ctx.struct_type(&[usize_type, usize_type], false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue