layout: remove more superfluous PhantomData usage

This commit is contained in:
🪞👃🪞 2025-01-03 23:00:26 +01:00
parent 2b07e7963e
commit f81a04dd44
3 changed files with 21 additions and 22 deletions

View file

@ -65,7 +65,7 @@ impl<E: Engine> Measure<E> {
y: Arc::new(0.into()),
}
}
pub fn of <T: Content<E>> (&self, item: T) -> Bsp<Fill<E, &Self>, T> {
pub fn of <T: Content<E>> (&self, item: T) -> Bsp<Fill<&Self>, T> {
Bsp::b(Fill::xy(&self), item)
}
}