From 71ab1cce81c126f9cbf34d1b29f75695d131861d Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Mon, 19 Jan 2026 20:36:29 -0500 Subject: [PATCH] Fix error message to display input instead of result --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71a892d..9bcae05 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ int main() { std::cout << "parsed the number " << result << std::endl; return EXIT_SUCCESS; } - std::cerr << "failed to parse " << result << std::endl; + std::cerr << "failed to parse " << input << std::endl; return EXIT_FAILURE; } ```