Skip to content

Commit 23cb4f1

Browse files
committed
change [Document]s to documents
1 parent 90e2b5e commit 23cb4f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/indexes.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use serde::{de::DeserializeOwned, Deserialize, Serialize};
1111
use std::{collections::HashMap, fmt::Display, time::Duration};
1212
use time::OffsetDateTime;
1313

14-
/// An index containing \[Document\]s.
14+
/// A Meilisearch [index](https://docs.meilisearch.com/learn/core_concepts/indexes.html).
1515
///
1616
/// # Example
1717
///
@@ -271,7 +271,7 @@ impl Index {
271271
SearchQuery::new(self)
272272
}
273273

274-
/// Get one \[Document\] using its unique id.
274+
/// Get one document using its unique id.
275275
/// Serde is needed. Add `serde = {version="1.0", features=["derive"]}` in the dependencies section of your Cargo.toml.
276276
///
277277
/// # Example
@@ -377,7 +377,7 @@ impl Index {
377377
.await
378378
}
379379

380-
/// Get \[Document\]s by batch.
380+
/// Get documents by batch.
381381
///
382382
/// # Example
383383
///
@@ -425,7 +425,7 @@ impl Index {
425425
.await
426426
}
427427

428-
/// Get \[Document\]s by batch with parameters.
428+
/// Get documents by batch with parameters.
429429
/// ```
430430
/// use serde::{Serialize, Deserialize};
431431
///
@@ -480,7 +480,7 @@ impl Index {
480480
.await
481481
}
482482

483-
/// Add a list of \[Document\]s or replace them if they already exist.
483+
/// Add a list of documents or replace them if they already exist.
484484
///
485485
/// If you send an already existing document (same id) the **whole existing document** will be overwritten by the new document.
486486
/// Fields previously in the document not present in the new document are removed.

0 commit comments

Comments
 (0)