From cc4b2f28b573e635ed32b65c3b8ab39b68698e8c Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Sat, 15 Nov 2025 16:58:05 +1100 Subject: [PATCH] Docs gen doesn't like referencing certain parts of `std` so just provide more generic examples --- jaarg/src/argparse.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jaarg/src/argparse.rs b/jaarg/src/argparse.rs index b398e52..b192679 100644 --- a/jaarg/src/argparse.rs +++ b/jaarg/src/argparse.rs @@ -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, }