We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 482685d + d8dabb9 commit b037073Copy full SHA for b037073
_overviews/scala3-book/ca-implicit-conversions.md
@@ -150,7 +150,7 @@ object `Conversions`:
150
import scala.language.implicitConversions
151
152
object Conversions {
153
- implicit def fromStringToUser(name: String): User = (name: String) => User(name)
+ implicit def fromStringToUser(name: String): User = User(name)
154
}
155
~~~
156
{% endtab %}
0 commit comments