Skip to content

Commit b9567c6

Browse files
authored
Merge pull request #617 from funlennysub/docs-fixes
Add missing `exist` to `*_update` functions' docs
2 parents 38b7571 + 31ca59d commit b9567c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/indexes.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ impl<Http: HttpClient> Index<Http> {
719719
self.add_or_replace(documents, primary_key).await
720720
}
721721

722-
/// Add a raw ndjson payload and update them if they already.
722+
/// Add a raw ndjson payload and update them if they already exist.
723723
///
724724
/// It configures the correct content type for ndjson data.
725725
///
@@ -811,7 +811,7 @@ impl<Http: HttpClient> Index<Http> {
811811
.await
812812
}
813813

814-
/// Add a raw csv payload and update them if they already.
814+
/// Add a raw csv payload and update them if they already exist.
815815
///
816816
/// It configures the correct content type for csv data.
817817
///
@@ -901,7 +901,7 @@ impl<Http: HttpClient> Index<Http> {
901901
.await
902902
}
903903

904-
/// Add a list of documents and update them if they already.
904+
/// Add a list of documents and update them if they already exist.
905905
///
906906
/// If you send an already existing document (same id) the old document will be only partially updated according to the fields of the new document.
907907
/// Thus, any fields not present in the new document are kept and remained unchanged.

0 commit comments

Comments
 (0)