diff options
author | 2017-12-08 13:31:46 +0100 | |
---|---|---|
committer | 2017-12-09 13:20:41 +0100 | |
commit | 79e2b7dc2e891a39b45c4a82a8089697a957f81b (patch) | |
tree | 9b5deaef48e70acb566c9f6181401c1716ab84c1 /macros/src | |
parent | e78ca98c42a2af1ca9c04d176441b045cd5e8c65 (diff) | |
download | rtic-79e2b7dc2e891a39b45c4a82a8089697a957f81b.tar.gz rtic-79e2b7dc2e891a39b45c4a82a8089697a957f81b.tar.zst rtic-79e2b7dc2e891a39b45c4a82a8089697a957f81b.zip |
rename LateResourceValues to LateResources
Diffstat (limited to 'macros/src')
-rw-r--r-- | macros/src/trans.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/src/trans.rs b/macros/src/trans.rs index bc69f24e..96631d5d 100644 --- a/macros/src/trans.rs +++ b/macros/src/trans.rs @@ -234,17 +234,17 @@ fn init(app: &App, main: &mut Vec<Tokens>, root: &mut Vec<Tokens>) { root.push(quote! { #[allow(non_camel_case_types)] #[allow(non_snake_case)] - pub struct _initLateResourceValues { + pub struct _initLateResources { #(#fields)* } }); mod_items.push(quote! { - pub use ::_initLateResourceValues as LateResourceValues; + pub use ::_initLateResources as LateResources; }); // `init` must return the initialized resources - ret = Some(quote!( -> ::init::LateResourceValues)); + ret = Some(quote!( -> ::init::LateResources)); } root.push(quote! { |