Skip to content

Commit b1ce5a5

Browse files
committed
removed old artifacts
1 parent 1d880d2 commit b1ce5a5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/build/wit_generator.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,6 @@ fn generate_signature_struct(
612612
struct_fields.push(" target: address".to_string());
613613
}
614614

615-
// Count non-self parameters
616-
let mut param_count = 0;
617-
618615
// Process function parameters (skip &self and &mut self)
619616
for arg in &method.sig.inputs {
620617
if let syn::FnArg::Typed(pat_type) = arg {
@@ -624,8 +621,6 @@ fn generate_signature_struct(
624621
continue;
625622
}
626623

627-
param_count += 1;
628-
629624
// Get original param name
630625
let param_orig_name = pat_ident.ident.to_string();
631626
let method_name_for_error = method.sig.ident.to_string(); // Get method name for error messages

0 commit comments

Comments
 (0)