From b68ea243fc2d05ca182bd873cf08978e20e7e2fe Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 8 Jan 2020 18:37:46 +0100 Subject: [PATCH] Fix comment. --- docs/contracts/function-modifiers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contracts/function-modifiers.rst b/docs/contracts/function-modifiers.rst index 90eb2fc27..758ba74ea 100644 --- a/docs/contracts/function-modifiers.rst +++ b/docs/contracts/function-modifiers.rst @@ -41,8 +41,8 @@ if they are marked ``virtual``. For details, please see contract destructible is owned { // This contract inherits the `onlyOwner` modifier from - // `owned` and applies it to the `close` function, which - // causes that calls to `close` only have an effect if + // `owned` and applies it to the `destroy` function, which + // causes that calls to `destroy` only have an effect if // they are made by the stored owner. function destroy() public onlyOwner { selfdestruct(owner);