Skip to content

Commit 69b6ebd

Browse files
committed
docs: apply doc suggestion
1 parent 60e2880 commit 69b6ebd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libraries/ChainlinkDataFeedLib.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import {ErrorsLib} from "./ErrorsLib.sol";
1010
/// @custom:contact [email protected]
1111
/// @notice Library exposing functions to interact with a Chainlink-compliant feed.
1212
library ChainlinkDataFeedLib {
13-
/// @dev Returns the latest price of a `feed`.
14-
/// @dev Performs some safety checks and returns the latest price of a feed.
13+
/// @dev Performs safety checks and returns the latest price of a `feed`.
1514
/// @dev When `feed` is the address zero, returns 1.
1615
function getPrice(AggregatorV3Interface feed) internal view returns (uint256) {
1716
if (address(feed) == address(0)) return 1;

0 commit comments

Comments
 (0)