mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
read_and_print comment typo fix
read and print and int -> read and print an int
This commit is contained in:
parent
245f82acd5
commit
a4dd4bd121
|
@ -1591,7 +1591,7 @@ If something is a well-specified action, separate it out from its surrounding c
|
||||||
|
|
||||||
**Example, don't**:
|
**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;
|
int x;
|
||||||
if (is>>x)
|
if (is>>x)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user