mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
do what clippy wants
This commit is contained in:
parent
2bad39e8b9
commit
5237408b15
4 changed files with 7 additions and 8 deletions
|
@ -50,6 +50,8 @@ pub fn basic_type_from_layout<'ctx>(
|
|||
Builtin(builtin) => match builtin {
|
||||
Int64 => context.i64_type().as_basic_type_enum(),
|
||||
Float64 => context.f64_type().as_basic_type_enum(),
|
||||
Bool(_, _) => context.bool_type().as_basic_type_enum(),
|
||||
Byte(_) => context.i8_type().as_basic_type_enum(),
|
||||
Str => context
|
||||
.i8_type()
|
||||
.ptr_type(AddressSpace::Generic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue