```\nFile: ERC20.sol\n    function _mint(address account, uint256 amount) internal virtual {\n..SNIP..\n        _beforeTokenTransfer(address(0), account, amount);\n\n        _totalSupply += amount;\n        unchecked {\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\n            _balances[account] += amount;\n        }\n..SNIP..\n        _afterTokenTransfer(address(0), account, amount);\n    }\n```\n