diff options
author | 2017-12-08 13:31:46 +0100 | |
---|---|---|
committer | 2017-12-09 13:20:41 +0100 | |
commit | 79e2b7dc2e891a39b45c4a82a8089697a957f81b (patch) | |
tree | 9b5deaef48e70acb566c9f6181401c1716ab84c1 /src | |
parent | e78ca98c42a2af1ca9c04d176441b045cd5e8c65 (diff) | |
download | rtic-79e2b7dc2e891a39b45c4a82a8089697a957f81b.tar.gz rtic-79e2b7dc2e891a39b45c4a82a8089697a957f81b.tar.zst rtic-79e2b7dc2e891a39b45c4a82a8089697a957f81b.zip |
rename LateResourceValues to LateResources
Diffstat (limited to 'src')
-rw-r--r-- | src/examples/_5_late_resources.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |