The way the std::process::exit call in the top level doctest is currently commented out is somewhat confusing to readers (or at least does not flow well); this commit instead wraps it in a hidden if false { ... }, which will prevent it from running without affecting what the documentation looks like.
The way the
std::process::exit
call in the top level doctest is currently commented out is somewhat confusing to readers (or at least does not flow well); this commit instead wraps it in a hiddenif false { ... }
, which will prevent it from running without affecting what the documentation looks like.