Skip to content

Commit 71ab1cc

Browse files
authored
Fix error message to display input instead of result
1 parent 64a6859 commit 71ab1cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ int main() {
8383
std::cout << "parsed the number " << result << std::endl;
8484
return EXIT_SUCCESS;
8585
}
86-
std::cerr << "failed to parse " << result << std::endl;
86+
std::cerr << "failed to parse " << input << std::endl;
8787
return EXIT_FAILURE;
8888
}
8989
```

0 commit comments

Comments
 (0)