Skip to content

Commit 3de50f3

Browse files
authored
Merge pull request #2742 from corob-msft/cr-md012
Fix MD012 in auto_gcroot class
2 parents 21a23c2 + 24eda70 commit 3de50f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/dotnet/auto-gcroot-class.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ The managed type to be embedded.
4242
|[auto_gcroot::reset](#reset)|Destroy the current owned object and optionally take possession of a new object.|
4343
|[auto_gcroot::swap](#swap)|Swaps objects with another `auto_gcroot`.|
4444

45-
4645
### Public operators
4746

4847
|Name|Description|
@@ -757,7 +756,7 @@ operator bool() const;
757756

758757
### Remarks
759758

760-
This operator actually converts to `_detail_class::_safe_bool` which is safer than `bool` because it can't be converted to an integral type.
759+
This operator actually converts to `_detail_class::_safe_bool`, which is safer than `bool` because it can't be converted to an integral type.
761760

762761
### Example
763762

@@ -827,4 +826,4 @@ int main() {
827826
s is invalid
828827
now s is valid
829828
now s is invalid
830-
```
829+
```

0 commit comments

Comments
 (0)