Skip to content

Commit 88d016c

Browse files
authored
Merge pull request #3676 from k0ala/doc-ref-changed-typos
Fix typos in documentation: reference > changed & dropped features
2 parents c515e7e + d644a14 commit 88d016c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/docs/reference/changed/pattern-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ object Nat {
114114
// 5 is a natural number
115115
```
116116

117-
In case of ambiguities, *Product Pattern* is preferred over *Name Based Pattern*. This document reflects the state of pattern matching as currently implemented in Dotty. They are plans for further simplification, in particular to factor out *Product Pattern* and *Name Based Pattern* into a single type of extractor.
117+
In case of ambiguities, *Product Pattern* is preferred over *Name Based Pattern*. This document reflects the state of pattern matching as currently implemented in Dotty. There are plans for further simplification, in particular to factor out *Product Pattern* and *Name Based Pattern* into a single type of extractor.

docs/docs/reference/changed/structural-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: "Programmatic Structural Types"
66
Previously, Scala supported structural types by means of
77
reflection. This is problematic on other platforms, because Scala's
88
reflection is JVM-based. Consequently, Scala.js and Scala.native don't
9-
support structural types fully. The reflction based implementation is
9+
support structural types fully. The reflection based implementation is
1010
also needlessly restrictive, since it rules out other implementation
1111
schemes. This makes structural types unsuitable for e.g. modelling
1212
rows in a database, for which they would otherwise seem to be an ideal

docs/docs/reference/dropped/auto-apply.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ requirement.
7676

7777
Existing Scala code with inconsistent parameters can still be compiled
7878
in Dotty under `-language:Scala2`. When paired with the `-rewrite`
79-
option, the code will be automatcally rewritten to conform to Dotty's
79+
option, the code will be automatically rewritten to conform to Dotty's
8080
stricter checking.
8181

8282
### Reference

docs/docs/reference/dropped/class-shadowing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Dotty rejects this with the error message:
2121

2222
The issue is that the two `Ops` classes _look_ like one overrides the
2323
other, but classes in Scala cannot be overridden. To keep things clean
24-
(and its internal operations conistent) the Dotty compiler forces you
24+
(and its internal operations consistent) the Dotty compiler forces you
2525
to rename the inner classes so that their names are different.
2626

2727

0 commit comments

Comments
 (0)