This commit is contained in:
Andrew Gazelka 2021-10-09 15:27:20 -07:00
parent 7155b55ac8
commit fb092aa65a
No known key found for this signature in database
GPG key ID: E470F7C8A3B1673D

View file

@ -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,
)
})