We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e808789 commit 41d1149Copy full SHA for 41d1149
src/documents.rs
@@ -144,9 +144,7 @@ impl<'a> DocumentsQuery<'a> {
144
/// # let client = Client::new(MEILISEARCH_HOST, MEILISEARCH_API_KEY);
145
/// let index = client.index("my_index");
146
///
147
- /// let mut documents_query = DocumentsQuery::new(&index);
148
- ///
149
- /// documents_query.with_offset(1);
+ /// let mut documents_query = DocumentsQuery::new(&index)with_offset(1);
150
/// ```
151
pub fn with_offset(&mut self, offset: usize) -> &mut DocumentsQuery<'a> {
152
self.offset = Some(offset);
0 commit comments