diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2019-02-12 15:08:46 +0100 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2019-02-12 15:08:46 +0100 |
| commit | 89c922079eaefc748febdb62aeccfff598a07c69 (patch) | |
| tree | eebd97bd85976b5aa962353e2a48590e57557447 /tests/cpass/late-resource.rs | |
| parent | 88599780e0eba38d9e543b7809f586479f6956bd (diff) | |
update examples and tests
Diffstat (limited to 'tests/cpass/late-resource.rs')
| -rw-r--r-- | tests/cpass/late-resource.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/cpass/late-resource.rs b/tests/cpass/late-resource.rs index 94ec8c9..0dec4cb 100644 --- a/tests/cpass/late-resource.rs +++ b/tests/cpass/late-resource.rs @@ -14,8 +14,7 @@ const APP: () = { static Y: u32 = (); #[init] - fn init() { - X = 0; - Y = 1; + fn init() -> init::LateResources { + init::LateResources { X: 0, Y: 1 } } }; |
