mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
clippy
This commit is contained in:
parent
13ab2010f0
commit
14accf4589
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ fn type_attribute<'ctx>(
|
||||||
context.create_type_attribute(kind_id, basic_type.as_any_type_enum())
|
context.create_type_attribute(kind_id, basic_type.as_any_type_enum())
|
||||||
}
|
}
|
||||||
|
|
||||||
fn enum_attribute<'ctx>(context: &Context, name: &str) -> inkwell::attributes::Attribute {
|
fn enum_attribute(context: &Context, name: &str) -> inkwell::attributes::Attribute {
|
||||||
let kind_id = Attribute::get_named_enum_kind_id(name);
|
let kind_id = Attribute::get_named_enum_kind_id(name);
|
||||||
debug_assert!(kind_id > 0);
|
debug_assert!(kind_id > 0);
|
||||||
context.create_enum_attribute(kind_id, 1)
|
context.create_enum_attribute(kind_id, 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue