We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d880d2 commit b1ce5a5Copy full SHA for b1ce5a5
1 file changed
src/build/wit_generator.rs
@@ -612,9 +612,6 @@ fn generate_signature_struct(
612
struct_fields.push(" target: address".to_string());
613
}
614
615
- // Count non-self parameters
616
- let mut param_count = 0;
617
-
618
// Process function parameters (skip &self and &mut self)
619
for arg in &method.sig.inputs {
620
if let syn::FnArg::Typed(pat_type) = arg {
@@ -624,8 +621,6 @@ fn generate_signature_struct(
624
621
continue;
625
622
626
623
627
- param_count += 1;
628
629
// Get original param name
630
let param_orig_name = pat_ident.ident.to_string();
631
let method_name_for_error = method.sig.ident.to_string(); // Get method name for error messages
0 commit comments