Skip to content

Commit 32073c8

Browse files
authored
Update fully-qualified name of FromString in main-functions.md
1 parent 3899b6a commit 32073c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed-features/main-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This would generate a main program `happyBirthday` that could be called like thi
3030
Happy 23rd Birthday, Lisa and Peter!
3131
```
3232
A `@main` annotated method can be written either at the top-level or in a statically accessible object. The name of the program is in each case the name of the method, without any object prefixes. The `@main` method can have an arbitrary number of parameters.
33-
For each parameter type there must be an instance of the `scala.util.FromString` type class
33+
For each parameter type there must be an instance of the `scala.util.CommandLineParser.FromString` type class
3434
that is used to convert an argument string to the required parameter type.
3535
The parameter list of a main method can end in a repeated parameter that then
3636
takes all remaining arguments given on the command line.

0 commit comments

Comments
 (0)