Skip to content

Commit 9fe99f4

Browse files
authored
fix: Fix typos. (#69)
1 parent 43956c0 commit 9fe99f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ let result = client
142142
.read_events("/books/42", Some(
143143
ReadEventsOptions {
144144
recursive: false,
145-
...Default::default(),
145+
..Default::default(),
146146
}
147147
))
148148
.await;
@@ -183,7 +183,7 @@ let result = client
183183
.read_events("/books/42", Some(
184184
ReadEventsOptions {
185185
recursive: false,
186-
order: Some(Ordering::Antichronological)
186+
order: Some(Ordering::Antichronological),
187187
..Default::default(),
188188
}
189189
))
@@ -379,8 +379,8 @@ client.register_event_schema(
379379
"isbn",
380380
],
381381
"additionalProperties": false,
382-
}).await;,
383-
)
382+
}),
383+
).await;
384384
```
385385

386386
### Listing Subjects
@@ -398,7 +398,7 @@ match result {
398398
If you only want to list subjects within a specific branch, provide the desired base subject instead:
399399

400400
```rust
401-
let result = client.list_subjects("/books");
401+
let result = client.list_subjects("/books").await;
402402
```
403403

404404
### Listing Event Types

0 commit comments

Comments
 (0)