Skip to content

Commit 18f56fe

Browse files
authored
Merge pull request #3650 from nerush/patch-1
Fix typo in implicit conversion example
2 parents 211cc8f + 82b5604 commit 18f56fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed/implicit-conversions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ In summary, previous code using implicit conversion parameters such as
3333

3434
def useConversion(implicit f: A => B) = {
3535
val y: A = ...
36-
val x: B = a // error under Dotty
36+
val x: B = y // error under Dotty
3737
}
3838

3939
is no longer legal and has to be rewritten to

0 commit comments

Comments
 (0)