Skip to content

Commit a88960f

Browse files
Merge pull request #7169 from desbo/patch-1
Fix typo in Extension Methods documentation
2 parents 48fcfdb + 3312387 commit a88960f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/extension-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ When is an extension method applicable? There are two possibilities.
3838
or inherited or imported in a scope enclosing the application.
3939
- An extension method is applicable if it is a member of some given instance at the point of the application.
4040

41-
As an example, consider an extension method `longestStrings` on `String` defined in a trait `StringSeqOps`.
41+
As an example, consider an extension method `longestStrings` on `Seq[String]` defined in a trait `StringSeqOps`.
4242

4343
```scala
4444
trait StringSeqOps {

0 commit comments

Comments
 (0)