mirror of
https://github.com/gay-pizza/jaarg.git
synced 2025-12-19 07:20:18 +00:00
Docs gen doesn't like referencing certain parts of std so just provide more generic examples
This commit is contained in:
@@ -8,9 +8,9 @@
|
|||||||
pub enum ParseResult {
|
pub enum ParseResult {
|
||||||
/// Parsing succeeded and program execution should continue.
|
/// Parsing succeeded and program execution should continue.
|
||||||
ContinueSuccess,
|
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,
|
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,
|
ExitError,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user