Skip to content

Commit

Permalink
Merge pull request ethereum#11361 from fulldecent/patch-17
Browse files Browse the repository at this point in the history
Match @return word styling to match @param (i.e. sentence case)
  • Loading branch information
chriseth authored May 10, 2021
2 parents 5d070c5 + 88e33c9 commit fcb242a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/natspec-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The following example shows a contract and a function using all available tags.
/// @notice Calculate tree age in years, rounded up, for live trees
/// @dev The Alexandr N. Tetearing algorithm could increase precision
/// @param rings The number of rings from dendrochronological sample
/// @return age in years, rounded up for partial years
/// @return Age in years, rounded up for partial years
function age(uint256 rings) external virtual pure returns (uint256) {
return rings + 1;
}
Expand Down

0 comments on commit fcb242a

Please sign in to comment.