mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Clippy
This commit is contained in:
parent
b5a963195b
commit
38d5ec374a
2 changed files with 4 additions and 4 deletions
|
@ -25,9 +25,9 @@ pub(crate) enum RocStruct<'ctx> {
|
|||
ByReference(PointerValue<'ctx>),
|
||||
}
|
||||
|
||||
impl<'ctx> Into<BasicValueEnum<'ctx>> for RocStruct<'ctx> {
|
||||
fn into(self) -> BasicValueEnum<'ctx> {
|
||||
self.as_basic_value_enum()
|
||||
impl<'ctx> From<RocStruct<'ctx>> for BasicValueEnum<'ctx> {
|
||||
fn from(roc_struct: RocStruct<'ctx>) -> Self {
|
||||
roc_struct.as_basic_value_enum()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue