This commit is contained in:
Folkert 2023-11-18 23:05:55 +01:00
parent d7c1be6a44
commit c019ced31d
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
9 changed files with 819 additions and 1301 deletions

View file

@ -442,7 +442,7 @@ pub trait LayoutInterner<'a>: Sized {
pub struct InLayout<'a>(usize, std::marker::PhantomData<&'a ()>);
impl<'a> Clone for InLayout<'a> {
fn clone(&self) -> Self {
Self(self.0, Default::default())
*self
}
}