Skip to content

Commit

Permalink
Fixes small comments
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <[email protected]>
  • Loading branch information
konstantinabl committed Oct 18, 2023
1 parent de8a6d5 commit 3079dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/solidity/assignments/AssignmentReferenceTypes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ contract AssignmentReferenceTypes {
y[2] = 8;
}

function testChangeReference(uint[5] storage y) internal {
function testChangeReference(uint[5] storage y) internal pure {
y[3] = 10;
}

function getSomeArray() external view returns(uint[5] memory){
function getSomeArray() external view returns(uint[5] memory) {
return someArray;
}
}

0 comments on commit 3079dac

Please sign in to comment.