Skip to content

Commit c4c847f

Browse files
authored
Merge pull request #8167 from valencik/scala-shadowing-typo
Fix typos in language.scala
2 parents 735020f + c9e2373 commit c4c847f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/src/scalaShadowing/language.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ package scalaShadowing
2828
*
2929
* and, for dotty:
3030
*
31-
* - [[Scala2 `Scala2`] backwards compatibility mode for Scala2
32-
* - [[noAtoTupling `noAutoTupling`]] disable auto-tupling
31+
* - [[Scala2 `Scala2`]] backwards compatibility mode for Scala2
32+
* - [[noAutoTupling `noAutoTupling`]] disable auto-tupling
3333
* - [[strictEquality `strictEquality`]] enable strick equality
3434
*
3535
* @groupname production Language Features
@@ -225,7 +225,7 @@ object language {
225225
* compilation units are allowed.
226226
*
227227
* '''Why control the feature?''' Ad-hoc extensions should usually be avoided
228-
* since they typically cannot reply on an "internal" contract between a class
228+
* since they typically cannot rely on an "internal" contract between a class
229229
* and its extensions. Only open classes need to specify such a contract.
230230
* Ad-hoc extensions might break for future versions of the extended class,
231231
* since the extended class is free to change its implementation without

0 commit comments

Comments
 (0)