Skip to content

Commit

Permalink
attr
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jan 16, 2025
1 parent 0484aa1 commit 2d67870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ops/op2/object_wrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub(crate) fn generate_impl_ops(
) -> Result<TokenStream, Op2Error> {
let maybe_inherits_type = rules!(attrs => {
() => None,
($ty:ty) => Some(ty),
(inherit = $inherits_type:ty) => Some(inherits_type),
});

let mut tokens = TokenStream::new();
Expand Down
2 changes: 1 addition & 1 deletion testing/checkin/runner/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl DOMPointReadOnly {
}
}

#[op2(DOMPointReadOnly)]
#[op2(inherit = DOMPointReadOnly)]
impl DOMPoint {
#[constructor]
#[cppgc]
Expand Down

0 comments on commit 2d67870

Please sign in to comment.