Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Nov 22, 2024
1 parent d33a034 commit ea653e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
6 changes: 2 additions & 4 deletions ops/op2/object_wrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,8 @@ pub(crate) fn generate_impl_ops(

for item in item.items {
if let ImplItem::Fn(mut method) = item {
let (item_fn_attrs, attrs) = method
.attrs
.into_iter()
.partition(|attr| is_attribute_special(attr));
let (item_fn_attrs, attrs) =
method.attrs.into_iter().partition(is_attribute_special);

/* Convert snake_case to camelCase */
method.sig.ident = format_ident!(
Expand Down
8 changes: 0 additions & 8 deletions test.mjs

This file was deleted.

6 changes: 0 additions & 6 deletions testing/checkin/runner/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ impl GarbageCollected for DOMPoint {}

#[op2]
impl DOMPoint {
#[fast]
#[required(1)]
fn stuff(&self) {
println!("stuff");
}

#[constructor]
#[cppgc]
fn new(
Expand Down

0 comments on commit ea653e2

Please sign in to comment.