Commit 8dc2aa38 authored by Mark Tyneway's avatar Mark Tyneway

lint: better comment

parent 98a970d5
...@@ -226,7 +226,10 @@ contract SystemConfig is OwnableUpgradeable, Semver { ...@@ -226,7 +226,10 @@ contract SystemConfig is OwnableUpgradeable, Semver {
} }
} }
/// @notice /// @notice Returns an address stored in an arbitrary storage slot.
/// These storage slots decouple the storage layout from
/// solc's automation.
/// @param _slot The storage slot to retrieve the address from.
function _getAddress(bytes32 _slot) internal view returns (address) { function _getAddress(bytes32 _slot) internal view returns (address) {
address addr; address addr;
bytes32 slot = _slot; bytes32 slot = _slot;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment