Skip to content

Commit dd46db0

Browse files
Apply suggestions from code review
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
1 parent d129a5b commit dd46db0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

language/predefined/attributes/returntypewillchange.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<simpara>
1616
Most non-final internal methods now require overriding methods to declare
1717
a compatible return type. Otherwise, a deprecation notice is emitted during
18-
inheritance validation, warning that the signature violates covariance rules.
18+
inheritance validation warning that the signature violates covariance rules.
1919
</simpara>
2020

2121
<simpara>
@@ -41,8 +41,8 @@
4141
<simpara>
4242
The <classname>ReturnTypeWillChange</classname> attribute suppresses deprecation
4343
warnings <emphasis>only</emphasis> during the tentative return type phase.
44-
After strict type checking is enforced, the attribute will stop working,
45-
and a mismatch in an overriding method signature of an internal class
44+
After strict type checking is enforced, the attribute will stop working
45+
and a mismatch in the overriding method signature of an internal class
4646
will cause a fatal error.
4747
</simpara>
4848
</warning>

0 commit comments

Comments
 (0)