This commit is contained in:
Folkert 2021-08-18 18:33:33 +02:00
parent 6284a90785
commit 012b4baa2e
6 changed files with 20 additions and 102 deletions

View file

@ -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>(