Skip to content

Commit

Permalink
Update InsertionSort.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinAsdz authored Jul 28, 2022
1 parent 5561da4 commit b7c8031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Languages/en/10_InsertionSort/InsertionSort.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ contract InsertionSort {
return(sum);
}

// 三元运算符 ternary/conditional operator
// Ternary/Conditional operator
function ternaryTest(uint256 x, uint256 y) public pure returns(uint256){
// return the max of x and y
return x >= y ? x: y;
Expand Down

0 comments on commit b7c8031

Please sign in to comment.