mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use global exports from derives (#33169)
* pub reexport *Traceable Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * reexport `HasParent` for derives Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * reexport DomObject, Reflector, MutDomObject Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * fmt Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update lib.rs Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> * Update lib.rs Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> * Update lib.rs Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
6357998ede
commit
88d8770214
5 changed files with 23 additions and 15 deletions
|
@ -38,7 +38,7 @@ pub fn dom_struct(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
quote! (
|
||||
#s2
|
||||
|
||||
impl crate::dom::bindings::inheritance::HasParent for #name {
|
||||
impl crate::HasParent for #name {
|
||||
type Parent = #ty;
|
||||
/// This is used in a type assertion to ensure that
|
||||
/// the source and webidls agree as to what the parent type is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue