diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 9794ac8..3aa2097 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -1591,7 +1591,7 @@ If something is a well-specified action, separate it out from its surrounding c **Example, don't**: - void read_and_print(istream& is) // read and print and int + void read_and_print(istream& is) // read and print an int { int x; if (is>>x)