mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 06:15:45 +01:00
Remove stale code, fix comment styling
This commit is contained in:
parent
d8c9476372
commit
d06cf91acc
24 changed files with 45 additions and 617 deletions
|
|
@ -81,12 +81,10 @@ pub fn codegen(
|
|||
let context = &init.context;
|
||||
let attrs = &init.attrs;
|
||||
let stmts = &init.stmts;
|
||||
let section = util::link_section("text");
|
||||
let locals_pat = locals_pat.iter();
|
||||
let user_init = Some(quote!(
|
||||
#(#attrs)*
|
||||
#[allow(non_snake_case)]
|
||||
#section
|
||||
fn #name(#(#locals_pat,)* #context: #name::Context) #ret {
|
||||
#(#stmts)*
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue