Fix view signature of tester::null

This commit is contained in:
Héctor Ramón Jiménez 2025-08-12 22:38:59 +02:00
parent 26c9dc1709
commit 28a4c53f43
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -47,7 +47,6 @@ impl<P: Program> Tester<P> {
pub fn view<'a, T: 'static>(
&'a self,
_program: &P,
_window: window::Id,
_current: impl FnOnce() -> Element<'a, T, Theme, P::Renderer>,
_emulate: impl Fn(Tick<P>) -> T + 'a,
) -> Element<'a, T, Theme, P::Renderer> {