Docs gen doesn't like referencing certain parts of std so just provide more generic examples

This commit is contained in:
2025-11-15 16:58:05 +11:00
parent 8c30e5c526
commit cc4b2f28b5

View File

@@ -8,9 +8,9 @@
pub enum ParseResult {
/// Parsing succeeded and program execution should continue.
ContinueSuccess,
/// Parsing succeeded and program should exit with success (eg; [std::process::ExitCode::SUCCESS]).
/// Parsing succeeded and program should exit with success (eg; `exit(0)`).
ExitSuccess,
/// There was an error while parsing and program should exit with failure (eg; [std::process::ExitCode::FAILURE]).
/// There was an error while parsing and program should exit with failure (eg; `exit(1)`).
ExitError,
}