Skip to content

Commit 866656c

Browse files
Merge pull request #10494 from griggt/fix-doc-links
Fix broken documentation links as reported in #10465
2 parents 8a06372 + b7eef8e commit 866656c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/docs/reference/enums/desugarEnums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ map into `case class`es or `val`s.
155155
case C(ps) extends P1, ..., Pn
156156
```
157157
are treated specially. A call `C(ts)` of the apply method is ascribed the underlying type
158-
`P1 & ... & Pn` (dropping any [super traits](../other-new-features/mixin-traits.md))
158+
`P1 & ... & Pn` (dropping any [transparent traits](../other-new-features/transparent-traits.md))
159159
as long as that type is still compatible with the expected type at the point of application.
160160
A call `t.copy(ts)` of `C`'s `copy` method is treated in the same way.
161161

docs/docs/reference/features-classification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Since these are additions, there's generally no migration cost for old code. An
3535
These constructs replace existing constructs with the aim of making the language safer and simpler to use, and to promote uniformity in code style.
3636

3737
- [Trait Parameters](other-new-features/trait-parameters.md) replace [early initializers](dropped-features/early-initializers.md) with a more generally useful construct.
38-
- [Given Instances](contextual/delegates.md)
38+
- [Given Instances](contextual/givens.md)
3939
replace implicit objects and defs, focussing on intent over mechanism.
40-
- [Given Clauses](contextual/given-clauses.md) replace implicit parameters, avoiding their ambiguities.
40+
- [Using Clauses](contextual/using-clauses.md) replace implicit parameters, avoiding their ambiguities.
4141
- [Extension Methods](contextual/extension-methods.md) replace implicit classes with a clearer and simpler mechanism.
4242
- [Opaque Type Aliases](other-new-features/opaques.md) replace most uses
4343
of value classes while guaranteeing absence of boxing.

0 commit comments

Comments
 (0)