Add documentation and MDN links for webidl files. Fixes #513 (#581)

This commit is contained in:
Jonathan Kingston
2018-07-29 17:12:36 +01:00
committed by Alex Crichton
parent 0bd21b7bd2
commit b7af4e3169
5 changed files with 36 additions and 2 deletions

View File

@ -469,6 +469,7 @@ impl ConvertToAst<BindgenAttrs> for syn::ForeignItemFn {
structural: opts.structural(),
rust_name: self.ident.clone(),
shim: Ident::new(&shim, Span::call_site()),
doc_comment: None,
})
}
}
@ -481,6 +482,7 @@ impl ConvertToAst<()> for syn::ForeignItemType {
vis: self.vis,
name: self.ident,
attrs: self.attrs,
doc_comment: None,
})
}
}