mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
fix #543
This commit is contained in:
parent
7155b55ac8
commit
fb092aa65a
1 changed files with 4 additions and 0 deletions
|
@ -43,8 +43,10 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> CodegenResult {
|
|||
.map(|(k, v)| {
|
||||
let ty = &v.ty;
|
||||
let cfgs = &v.cfgs;
|
||||
let docs = &v.docs;
|
||||
quote!(
|
||||
#(#cfgs)*
|
||||
#(#docs)*
|
||||
#k: #ty,
|
||||
)
|
||||
})
|
||||
|
@ -55,8 +57,10 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> CodegenResult {
|
|||
.map(|(k, v)| {
|
||||
let ty = &v.ty;
|
||||
let cfgs = &v.cfgs;
|
||||
let docs = &v.docs;
|
||||
quote!(
|
||||
#(#cfgs)*
|
||||
#(#docs)*
|
||||
#k: #ty,
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue