Skip to content

Commit c203f66

Browse files
fixup! Update docs
1 parent b9c1d5f commit c203f66

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/contracts/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ operations as long as there is enough gas passed on to it.
445445
446446
// If someone sends Ether to that contract,
447447
// the transfer will fail, i.e. this returns false here.
448-
// This will emit a deprecation warning
448+
// This will report a warning (deprecation)
449449
return testPayable.send(2 ether);
450450
}
451451

docs/contracts/inheritance.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ and the ``override`` keyword must be used in the overriding modifier:
392392
393393
contract Base
394394
{
395-
// This will emit a deprecation warning
395+
// This will report a warning (deprecation)
396396
modifier foo() virtual {_;}
397397
}
398398
@@ -412,13 +412,13 @@ explicitly:
412412
413413
contract Base1
414414
{
415-
// This will emit a deprecation warning
415+
// This will report a warning (deprecation)
416416
modifier foo() virtual {_;}
417417
}
418418
419419
contract Base2
420420
{
421-
// This will emit a deprecation warning
421+
// This will report a warning (deprecation)
422422
modifier foo() virtual {_;}
423423
}
424424

0 commit comments

Comments
 (0)