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 --- src/examples/_5_late_resources.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/examples/_5_late_resources.rs b/src/examples/_5_late_resources.rs index 8a5b6e16..8df6716c 100644 --- a/src/examples/_5_late_resources.rs +++ b/src/examples/_5_late_resources.rs @@ -57,7 +57,7 @@ //! } //! //! // 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 @@ -65,7 +65,7 @@ //! // ...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