Closed
Description
Hi I am new to rust,and when I am reading examples from rust by example,I found this one is really confusing.
This may not always be desired, so the output can be suppressed by ending the expression with a semicolon ;
why not just make the return type as unit,then the return type of the expression just been ignored just like scala.
Metadata
Metadata
Assignees
Labels
No labels