Skip to content

Commit 143d2f4

Browse files
fixup! Update docs
1 parent f9db19d commit 143d2f4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/assembly.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,7 @@ of Solidity, you can use a special comment to annotate an assembly block as memo
382382
}
383383
384384
.. warning::
385-
The ``memory-safe-assembly`` special comment is deprecated and scheduled for
386-
removal in the next breaking version (0.9).
385+
The ``memory-safe-assembly`` special comment is deprecated and scheduled for removal.
387386
For new code targeting recent compilers, specify the assembly block annotation.
388387

389388
Advanced Safe Use of Memory

docs/control-structures.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -700,10 +700,8 @@ and ``assert`` for internal error checking.
700700
uint balanceBeforeTransfer = address(this).balance;
701701
(bool success, ) = addr.call{value: msg.value / 2}("");
702702
require(success);
703-
// Since require will stop execution and
704-
// revert if success is false,
705-
// there should be no way for us to
706-
// still have half of the Ether.
703+
// Since require will stop execution and revert if success is false,
704+
// there should be no way for us to still have half of the Ether.
707705
assert(address(this).balance == balanceBeforeTransfer - msg.value / 2);
708706
return address(this).balance;
709707
}

0 commit comments

Comments
 (0)