Skip to content

Commit c189659

Browse files
authored
Clean up superfluous semicolons (#5181)
1 parent 5708e25 commit c189659

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

docs/standard-library/ctype-class.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: ctype Class"
32
title: "ctype Class"
3+
description: "Learn more about: ctype Class"
44
ms.date: "11/04/2016"
55
f1_keywords: ["xlocale/std::ctype", "xlocale/std::ctype::char_type", "xlocale/std::ctype::do_is", "xlocale/std::ctype::do_narrow", "xlocale/std::ctype::do_scan_is", "xlocale/std::ctype::do_scan_not", "xlocale/std::ctype::do_tolower", "xlocale/std::ctype::do_toupper", "xlocale/std::ctype::do_widen", "xlocale/std::ctype::is", "xlocale/std::ctype::narrow", "xlocale/std::ctype::scan_is", "xlocale/std::ctype::scan_not", "xlocale/std::ctype::tolower", "xlocale/std::ctype::toupper", "xlocale/std::ctype::widen"]
66
helpviewer_keywords: ["std::ctype [C++]", "std::ctype [C++], char_type", "std::ctype [C++], do_is", "std::ctype [C++], do_narrow", "std::ctype [C++], do_scan_is", "std::ctype [C++], do_scan_not", "std::ctype [C++], do_tolower", "std::ctype [C++], do_toupper", "std::ctype [C++], do_widen", "std::ctype [C++], is", "std::ctype [C++], narrow", "std::ctype [C++], scan_is", "std::ctype [C++], scan_not", "std::ctype [C++], tolower", "std::ctype [C++], toupper", "std::ctype [C++], widen"]
7-
ms.assetid: 3627154c-49d9-47b5-b28f-5bbedee38e3b
87
---
98
# ctype Class
109

@@ -466,7 +465,7 @@ int main() {
466465
cout << string[i] << ": "
467466
<< (maskarray[i] & ctype_base::alpha "alpha"
468467
: "not alpha")
469-
<< endl;;
468+
<< endl;
470469
};
471470
}
472471
```

docs/standard-library/raw-storage-iterator-class.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: raw_storage_iterator Class"
32
title: "raw_storage_iterator Class"
3+
description: "Learn more about: raw_storage_iterator Class"
44
ms.date: 06/17/2022
55
f1_keywords: ["memory/std::raw_storage_iterator", "memory/std::raw_storage_iterator::element_type", "memory/std::raw_storage_iterator::iter_type"]
66
helpviewer_keywords: ["std::raw_storage_iterator [C++]", "std::raw_storage_iterator [C++], element_type", "std::raw_storage_iterator [C++], iter_type"]
7-
ms.assetid: 6f033f15-f48e-452a-a326-647ea2cf346f
87
ms.custom: devdivchpfy22
98
---
109
# raw_storage_iterator Class
@@ -264,7 +263,7 @@ int main( void )
264263
*it = 2 * i;
265264
};
266265

267-
for ( int i = 0; i < 5; i++ ) cout << "array " << i << " = " << pInt[i] << endl;;
266+
for ( int i = 0; i < 5; i++ ) cout << "array " << i << " = " << pInt[i] << endl;
268267

269268
delete[] pInt;
270269
}
@@ -335,7 +334,7 @@ int main( void )
335334
336335
std::copy( l.begin( ), l.end( ), pInt ); // C4996
337336
for (unsigned int i = 0; i < l.size( ); i++)
338-
cout << "array " << i << " = " << pInt[i].x << endl;;
337+
cout << "array " << i << " = " << pInt[i].x << endl;
339338
340339
memset (pInt, 0, sizeof(Int)*l.size( ));
341340
// hack: make sure bIsConstructed is false

0 commit comments

Comments
 (0)