Fix warnings for a clean build

This commit is contained in:
Nathan Sobo 2023-09-01 10:08:41 -06:00
parent 3b5ee59273
commit 6275c560e7
3 changed files with 15 additions and 16 deletions

View file

@ -1,5 +1,3 @@
use std::marker::PhantomData;
pub use crate::layout_context::LayoutContext;
pub use crate::paint_context::PaintContext;
use anyhow::Result;
@ -56,6 +54,7 @@ enum ElementPhase<V: 'static, E: Element<V>> {
layout_id: LayoutId,
paint_state: E::PaintState,
},
#[allow(dead_code)]
PostPaint {
layout: Layout,
paint_state: E::PaintState,