From 9d2598dc071882a94b813ab1d9ddf49092546257 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 1 Oct 2020 20:14:07 +0200 Subject: Fixing test errors --- ui/single/resources-cfg.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/single/resources-cfg.rs') diff --git a/ui/single/resources-cfg.rs b/ui/single/resources-cfg.rs index df7ac80..bcb7120 100644 --- a/ui/single/resources-cfg.rs +++ b/ui/single/resources-cfg.rs @@ -41,12 +41,14 @@ const APP: () = { } #[init(resources = [o1, o4, o5, o6, s3])] - fn init(c: init::Context) { + fn init(c: init::Context) -> init::LateResources { c.resources.o1; c.resources.o4; c.resources.o5; c.resources.o6; c.resources.s3; + + init::LateResources {} } #[idle(resources = [o2, &o4, s1, &s3])] -- cgit v1.2.3