mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Now all locks are symmetric
Test fixes Fix test Fix comment
This commit is contained in:
parent
b3aa9e99a9
commit
e8eca4be37
22 changed files with 183 additions and 223 deletions
|
|
@ -82,8 +82,7 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> CodegenResult {
|
|||
|
||||
let mut mod_app = None;
|
||||
if !init.args.resources.is_empty() {
|
||||
let (item, constructor) =
|
||||
resources_struct::codegen(Context::Init, 0, &mut needs_lt, app, analysis);
|
||||
let (item, constructor) = resources_struct::codegen(Context::Init, &mut needs_lt, app);
|
||||
|
||||
root_init.push(item);
|
||||
mod_app = Some(constructor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue