diff --git a/docs/_docs/reference/contextual/context-bounds.md b/docs/_docs/reference/contextual/context-bounds.md index 60357b3f098d..c70d9d234597 100644 --- a/docs/_docs/reference/contextual/context-bounds.md +++ b/docs/_docs/reference/contextual/context-bounds.md @@ -131,7 +131,7 @@ done automatically under `-rewrite`. ## Context Bounds for Polymorphic Functions -From Scala 3.6 on, context bounds can also be used in polymorphic function types and polymorphic function literals: +From Scala 3.7 on, context bounds can also be used in polymorphic function types and polymorphic function literals: ```scala type Comparer = [X: Ord] => (x: X, y: X) => Boolean @@ -208,4 +208,4 @@ The syntax for abstract type members is generalized as follows to allow context ```scala TypeDef ::= id [TypeParamClause] TypeAndCtxBounds -``` \ No newline at end of file +```