Skip to content

Commit aa27513

Browse files
committed
Fix docs/docs
1 parent 1f8a1bd commit aa27513

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/docs/reference/contextual/using-clauses.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ Here is the new syntax of parameters and arguments seen as a delta from the [sta
146146

147147
```
148148
ClsParamClause ::= ... | UsingClsParamClause
149-
DefParamClauses ::= ... | UsingParamClause
149+
DefParamClause ::= ... | UsingParamClause
150150
UsingClsParamClause ::= ‘(’ ‘using’ (ClsParams | Types) ‘)’
151-
UsingParamClause ::= ‘(’ ‘using’ (DefParams | Types) ‘)’
151+
UsingParamClause ::= ‘(’ ‘using’ (DefTermParams | Types) ‘)’
152152
ParArgumentExprs ::= ... | ‘(’ ‘using’ ExprsInParens ‘)’
153153
```

docs/docs/reference/other-new-features/new-method-syntax.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: doc-page
3-
title: "New Method Syntax"
4-
movedTo: https://docs.scala-lang.org/scala3/reference/other-new-features/new-method-syntax.html
3+
title: "Generalized Method Syntax"
4+
movedTo: https://docs.scala-lang.org/scala3/reference/other-new-features/generalyzed-method-syntax.html
55
---
66

77
The inclusion of using clauses is not the only way in which methods have been updated, type parameter clauses are now allowed in any number and at any position.
@@ -27,7 +27,7 @@ def foo[T, U](x: T)(y: U)[V](z: V, s: String)[A](a: Array[A])(implicit List[U])
2727

2828
### Unchanged
2929

30-
Class definitions and type declarations are unnaffected, there can only be up to one type clause, in leading posion.
30+
Class definitions and type declarations are unaffected, there can only be up to one type clause, in leading posion.
3131

3232
## Motivation
3333

0 commit comments

Comments
 (0)