mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
clippy
This commit is contained in:
parent
6284a90785
commit
012b4baa2e
6 changed files with 20 additions and 102 deletions
|
@ -10,9 +10,7 @@ pub const OWNED: bool = false;
|
|||
pub const BORROWED: bool = true;
|
||||
|
||||
fn should_borrow_layout(layout: &Layout) -> bool {
|
||||
match layout {
|
||||
_ => layout.is_refcounted(),
|
||||
}
|
||||
layout.is_refcounted()
|
||||
}
|
||||
|
||||
pub fn infer_borrow<'a>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue