File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1432,7 +1432,7 @@ Consider:
1432
1432
1433
1433
Callers are unsure what types are allowed and if the data may
1434
1434
be mutated as `const` is not specified. Note all pointer types
1435
- implicitly convert to void*, so it is easy for callers to provide this value.
1435
+ implicitly convert to ` void*` , so it is easy for callers to provide this value.
1436
1436
1437
1437
The callee must `static_cast` data to an unverified type to use it.
1438
1438
That is error-prone and verbose.
@@ -1479,7 +1479,7 @@ This design is more explicit, safe and legible:
1479
1479
s.frequency = alarm_settings::every_10_seconds;
1480
1480
set_settings(s);
1481
1481
1482
- For the case of a set of boolean values consider using a flags enum; a pattern that expresses a set of boolean values.
1482
+ For the case of a set of boolean values consider using a flags ` enum` ; a pattern that expresses a set of boolean values.
1483
1483
1484
1484
enable_lamp_options(lamp_option::on | lamp_option::animate_state_transitions);
1485
1485
You can’t perform that action at this time.
0 commit comments