mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
rename LateResourceValues to LateResources
This commit is contained in:
parent
e78ca98c42
commit
79e2b7dc2e
4 changed files with 9 additions and 9 deletions
|
|
@ -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! {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue