Fix typographical errors (#5171)

This commit is contained in:
Hadrien Croubois
2024-08-29 21:41:30 +02:00
committed by GitHub
parent 48c67c7de0
commit 3547cdce21
5 changed files with 13 additions and 11 deletions

View File

@ -59,7 +59,9 @@ struct ${name}Slot {
const get = ({ name }) => `\
/**
* @dev Returns an \`${name}Slot\` with member \`value\` located at \`slot\`.
* @dev Returns ${
name.toLowerCase().startsWith('a') ? 'an' : 'a'
} \`${name}Slot\` with member \`value\` located at \`slot\`.
*/
function get${name}Slot(bytes32 slot) internal pure returns (${name}Slot storage r) {
/// @solidity memory-safe-assembly