Fix typographical errors (#5171)

Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com>
This commit is contained in:
Hadrien Croubois
2024-08-29 21:41:30 +02:00
parent 875cd48d8e
commit 7b68ae5d83
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