mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Clippy
This commit is contained in:
parent
22a4a4dfbc
commit
c2a0b878d3
1 changed files with 2 additions and 2 deletions
|
@ -50,13 +50,13 @@ struct CacheMeta {
|
|||
|
||||
impl CacheMeta {
|
||||
#[inline(always)]
|
||||
fn to_criteria(&self) -> CacheCriteria {
|
||||
fn to_criteria(self) -> CacheCriteria {
|
||||
let CacheMeta {
|
||||
has_recursive_structure,
|
||||
} = self;
|
||||
CacheCriteria {
|
||||
has_naked_recursion_pointer: false,
|
||||
has_recursive_structure: *has_recursive_structure,
|
||||
has_recursive_structure,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue