Skip to content

Commit 795a0ba

Browse files
authored
Merge pull request #15502 from guckool/develop
docs: fix several spelling and grammar issues
2 parents 46e1f81 + 79ad961 commit 795a0ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/types/value-types.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ are used as function arguments or in assignments.
99

1010
Unlike :ref:`reference types <reference-types>`, value type declarations do not
1111
specify a data location since they are small enough to be stored on the stack.
12-
The only exception are :ref:`state variables <structure-state-variables>`.
12+
The only exception is :ref:`state variables <structure-state-variables>`.
1313
Those are by default located in storage, but can also be marked as
1414
:ref:`transient <transient-storage>`, :ref:`constant or immutable <constants>`.
1515

@@ -204,7 +204,7 @@ must be explicit via ``payable(<address>)``.
204204
Explicit conversions to and from ``address`` are allowed for ``uint160``, integer literals,
205205
``bytes20`` and contract types.
206206

207-
Only expressions of type ``address`` and contract-type can be converted to the type ``address
207+
Only expressions of type ``address`` and contract type can be converted to the type ``address
208208
payable`` via the explicit conversion ``payable(...)``. For contract-type, this conversion is only
209209
allowed if the contract can receive Ether, i.e., the contract either has a :ref:`receive
210210
<receive-ether-function>` or a payable fallback function. Note that ``payable(0)`` is valid and is
@@ -215,7 +215,7 @@ an exception to this rule.
215215
declare its type as ``address payable`` to make this requirement visible. Also,
216216
try to make this distinction or conversion as early as possible.
217217

218-
The distinction between ``address`` and ``address payable`` was introduced with version 0.5.0.
218+
The distinction between ``address`` and ``address payable`` was introduced in version 0.5.0.
219219
Also starting from that version, contracts are not implicitly convertible to the ``address`` type, but can still be explicitly converted to
220220
``address`` or to ``address payable``, if they have a receive or payable fallback function.
221221

test/externalTests/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ branches if they exist. If no changes on our part were necessary, it is complete
8888
e.g. the `master_060` of an external project in Solidity 0.8.x.
8989

9090
Since each project is handled separately, this approach may result in a mix of version-specific branches
91-
between different external projects. For example, in one project we could could have `master_050` on
91+
between different external projects. For example, in one project we could have `master_050` on
9292
both `develop` and `breaking` and in another `breaking` could use `master_080` while `develop` still
9393
uses `master_060`.

0 commit comments

Comments
 (0)