Skip to content

Commit 63343d2

Browse files
authored
Merge pull request #8366 from robstoll/patch-29
doc(dep-fun-type): typos
2 parents 5134e98 + 12773ec commit 63343d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/new-types/dependent-function-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ val extractor: (e: Entry) => e.Key = extractKey // a dependent function value
1717
```
1818
Scala already has _dependent methods_, i.e. methods where the result
1919
type refers to some of the parameters of the method. Method
20-
`extractKey` is an example. Its result type, `e.Key` refers its
20+
`extractKey` is an example. Its result type, `e.Key` refers to its
2121
parameter `e` (we also say, `e.Key` _depends_ on `e`). But so far it
2222
was not possible to turn such methods into function values, so that
2323
they can be passed as parameters to other functions, or returned as

0 commit comments

Comments
 (0)