Skip to content

Commit c21a50c

Browse files
committed
docs: Use comments in code-samples
1 parent 7c5ba50 commit c21a50c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.code-samples.meilisearch.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,12 @@ search_1: |-
5959
.execute()
6060
.await
6161
.unwrap();
62-
get_update_md: |-
63-
You can get the status of a `Progress` instance:
64-
```rust
62+
get_update_1: |-
63+
// You can get the status of a `Progress` object:
6564
let status: Status = progress.get_status().await.unwrap();
66-
```
6765
68-
Or you can use index to get an update status using its `update_id`:
69-
```rust
66+
// Or you can use index to get an update status using its `update_id`:
7067
let status: Status = index.get_update(1).await.unwrap();
71-
```
7268
get_all_updates_1: |-
7369
let status: Vec<ProgressStatus> = index.get_all_updates().await.unwrap();
7470
get_keys_1: |-

0 commit comments

Comments
 (0)