You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust's doctests currently support the ability to omit fn main. If I'm looking at the right part of the source code, they parse the code and detect whether there is already a function named main.
The text was updated successfully, but these errors were encountered:
It would be nice to be able to write a script like:
Rust's doctests currently support the ability to omit
fn main
. If I'm looking at the right part of the source code, they parse the code and detect whether there is already a function namedmain
.The text was updated successfully, but these errors were encountered: