Skip to content

Commit 70c5ad3

Browse files
committed
✏️ Fix documentation errors
1 parent 7147374 commit 70c5ad3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/implementation_details.adoc

+6-2
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,17 @@ Specifics:
5151
+-------------/ +---+
5252
5353
/-------------+ +---+---+
54-
| 0b0000`0001 |--->| 1 | 7 |
54+
| 0b1111`1111 |--->| 0 | 8 |
5555
+-------------/ +---+---+
5656
5757
/-------------+ +---+---+---+
58-
| 0b1000`0011 |--->| 2 | 5 | 1 |
58+
| 0b0000`0001 |--->| 0 | 1 | 7 |
5959
+-------------/ +---+---+---+
6060
61+
/-------------+ +---+---+---+---+
62+
| 0b1000`0011 |--->| 0 | 2 | 5 | 1 |
63+
+-------------/ +---+---+---+---+
64+
6165
/-------------+ +---+---+---+---+
6266
| 0b1100`1110 |--->| 1 | 3 | 2 | 2 |
6367
+-------------/ +---+---+---+---+

docs/message.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ callback:
190190
cib::service<my_service>->handle(my_message{"my_field"_field = 0x81});
191191
----
192192

193-
NOTE: Because message view types are implicitly constructable from an owning
193+
NOTE: Because message view types are implicitly constructible from an owning
194194
message type, or from an appropriate `std::array`, it is possible to set up a
195195
service and handler that works with "raw data" in the form of a `std::array`,
196196
but whose callbacks and matchers take the appropriate message view types.
@@ -438,7 +438,7 @@ as follows:
438438
- `and` together all the resulting bitsets (i.e. perform their set intersection).
439439

440440
This gives us the callbacks to be called. Each callback still has an associated
441-
mpmatcher that may include field constraints that were already handled by the
441+
matcher that may include field constraints that were already handled by the
442442
indexing, but may also include constraints on fields that were not indexed. With
443443
a little xref:match.adoc#_boolean_algebra_with_matchers[Boolean matcher
444444
manipulation], we can remove the fields that were indexed by setting them to

0 commit comments

Comments
 (0)