File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ impl<Http: HttpClient> Client<Http> {
202
202
///
203
203
/// [1]: https://www.meilisearch.com/docs/learn/multi_search/multi_search_vs_federated_search#what-is-federated-search
204
204
#[ must_use]
205
- pub fn multi_search ( & self ) -> MultiSearchQuery < Http > {
205
+ pub fn multi_search ( & self ) -> MultiSearchQuery < ' _ , ' _ , Http > {
206
206
MultiSearchQuery :: new ( self )
207
207
}
208
208
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ pub struct DocumentQuery<'a, Http: HttpClient> {
86
86
87
87
impl < ' a , Http : HttpClient > DocumentQuery < ' a , Http > {
88
88
#[ must_use]
89
- pub fn new ( index : & Index < Http > ) -> DocumentQuery < Http > {
89
+ pub fn new ( index : & Index < Http > ) -> DocumentQuery < ' _ , Http > {
90
90
DocumentQuery {
91
91
index,
92
92
fields : None ,
@@ -200,7 +200,7 @@ pub struct DocumentsQuery<'a, Http: HttpClient> {
200
200
201
201
impl < ' a , Http : HttpClient > DocumentsQuery < ' a , Http > {
202
202
#[ must_use]
203
- pub fn new ( index : & Index < Http > ) -> DocumentsQuery < Http > {
203
+ pub fn new ( index : & Index < Http > ) -> DocumentsQuery < ' _ , Http > {
204
204
DocumentsQuery {
205
205
index,
206
206
offset : None ,
@@ -332,7 +332,7 @@ pub struct DocumentDeletionQuery<'a, Http: HttpClient> {
332
332
333
333
impl < ' a , Http : HttpClient > DocumentDeletionQuery < ' a , Http > {
334
334
#[ must_use]
335
- pub fn new ( index : & Index < Http > ) -> DocumentDeletionQuery < Http > {
335
+ pub fn new ( index : & Index < Http > ) -> DocumentDeletionQuery < ' _ , Http > {
336
336
DocumentDeletionQuery {
337
337
index,
338
338
filter : None ,
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ impl<Http: HttpClient> Index<Http> {
276
276
/// # });
277
277
/// ```
278
278
#[ must_use]
279
- pub fn search ( & self ) -> SearchQuery < Http > {
279
+ pub fn search ( & self ) -> SearchQuery < ' _ , Http > {
280
280
SearchQuery :: new ( self )
281
281
}
282
282
@@ -1777,7 +1777,7 @@ pub struct IndexUpdater<'a, Http: HttpClient> {
1777
1777
}
1778
1778
1779
1779
impl < ' a , Http : HttpClient > IndexUpdater < ' a , Http > {
1780
- pub fn new ( uid : impl AsRef < str > , client : & Client < Http > ) -> IndexUpdater < Http > {
1780
+ pub fn new ( uid : impl AsRef < str > , client : & Client < Http > ) -> IndexUpdater < ' _ , Http > {
1781
1781
IndexUpdater {
1782
1782
client,
1783
1783
primary_key : None ,
@@ -1976,7 +1976,7 @@ pub struct IndexesQuery<'a, Http: HttpClient> {
1976
1976
1977
1977
impl < ' a , Http : HttpClient > IndexesQuery < ' a , Http > {
1978
1978
#[ must_use]
1979
- pub fn new ( client : & Client < Http > ) -> IndexesQuery < Http > {
1979
+ pub fn new ( client : & Client < Http > ) -> IndexesQuery < ' _ , Http > {
1980
1980
IndexesQuery {
1981
1981
client,
1982
1982
offset : None ,
You can’t perform that action at this time.
0 commit comments