Skip to content

Commit a42fe92

Browse files
authored
Merge pull request #10460 from yangzai/patch-1
Update fully-qualified name of `FromString` in main-functions.md
2 parents 8c4eb5b + 32073c8 commit a42fe92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Happy 23rd Birthday, Lisa and Peter!
3131
```
3232

3333
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.
34-
For each parameter type there must be an instance of the `scala.util.FromString` type class
34+
For each parameter type there must be an instance of the `scala.util.CommandLineParser.FromString` type class
3535
that is used to convert an argument string to the required parameter type.
3636
The parameter list of a main method can end in a repeated parameter that then
3737
takes all remaining arguments given on the command line.

0 commit comments

Comments
 (0)