From 79e2b7dc2e891a39b45c4a82a8089697a957f81b Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 8 Dec 2017 13:31:46 +0100 Subject: rename LateResourceValues to LateResources --- examples/late-resources.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/late-resources.rs') diff --git a/examples/late-resources.rs b/examples/late-resources.rs index 337fbdf..69a0ce8 100644 --- a/examples/late-resources.rs +++ b/examples/late-resources.rs @@ -55,7 +55,7 @@ app! { } // The signature of `init` is now required to have a specific return type. -fn init(_p: init::Peripherals, _r: init::Resources) -> init::LateResourceValues { +fn init(_p: init::Peripherals, _r: init::Resources) -> init::LateResources { // `init::Resources` does not contain `IP_ADDRESS`, since it is not yet // initialized. //_r.IP_ADDRESS; // doesn't compile @@ -63,7 +63,7 @@ fn init(_p: init::Peripherals, _r: init::Resources) -> init::LateResourceValues // ...obtain value for IP_ADDRESS from EEPROM/DHCP... let ip_address = 0x7f000001; - init::LateResourceValues { + init::LateResources { // This struct will contain fields for all resources with omitted // initializers. IP_ADDRESS: ip_address, -- cgit v1.2.3