Skip to content

Commit

Permalink
fix forc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-magnet committed Nov 14, 2024
1 parent 838b6dd commit a78d89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/sway/types/contracts/nested_structs/src/main.sw
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ abi MyContract {
#[payable]
fn check_struct_integrity(arg: AllStruct) -> bool;
#[payable]
fn i_am_called_differently(arg1: AllStruct, arg2: MemoryAddress);
fn i_am_called_differently(_arg1: AllStruct, _arg2: MemoryAddress);
fn nested_struct_with_reserved_keyword_substring(call_data: CallData) -> CallData;
}

Expand All @@ -48,7 +48,7 @@ impl MyContract for Contract {
}

#[payable]
fn i_am_called_differently(arg1: AllStruct, arg2: MemoryAddress) {}
fn i_am_called_differently(_arg1: AllStruct, _arg2: MemoryAddress) {}

fn nested_struct_with_reserved_keyword_substring(call_data: CallData) -> CallData {
call_data
Expand Down

0 comments on commit a78d89a

Please sign in to comment.