From 33123872733b3f50fdc4839701fe576bc944c571 Mon Sep 17 00:00:00 2001 From: Sam Desborough Date: Wed, 4 Sep 2019 21:51:31 +0100 Subject: [PATCH] Fix typo in Extension Methods documentation The method is on `Seq[String]` rather than just `String`. --- docs/docs/reference/contextual/extension-methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference/contextual/extension-methods.md b/docs/docs/reference/contextual/extension-methods.md index da7d39ad0c17..653eb0c98a20 100644 --- a/docs/docs/reference/contextual/extension-methods.md +++ b/docs/docs/reference/contextual/extension-methods.md @@ -38,7 +38,7 @@ When is an extension method applicable? There are two possibilities. or inherited or imported in a scope enclosing the application. - An extension method is applicable if it is a member of some given instance at the point of the application. -As an example, consider an extension method `longestStrings` on `String` defined in a trait `StringSeqOps`. +As an example, consider an extension method `longestStrings` on `Seq[String]` defined in a trait `StringSeqOps`. ```scala trait StringSeqOps {