Skip to content

Commit 2bc8c74

Browse files
committed
Remove useless code
1 parent 7276bf8 commit 2bc8c74

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/indexes.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,10 +1694,7 @@ impl<Http: HttpClient> Index<Http> {
16941694
/// # tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap().block_on(async {
16951695
/// # let client = Client::new(MEILISEARCH_URL, Some(MEILISEARCH_API_KEY)).unwrap();
16961696
/// # let movies = client.index("similar_query");
1697-
/// #
1698-
/// # // add some documents
1699-
/// # movies.add_or_replace(&[Movie{name:String::from("Interstellar"), description:String::from("Interstellar chronicles the adventures of a group of explorers who make use of a newly discovered wormhole to surpass the limitations on human space travel and conquer the vast distances involved in an interstellar voyage.")},Movie{name:String::from("Unknown"), description:String::from("Unknown")}], Some("name")).await.unwrap().wait_for_completion(&client, None, None).await.unwrap();
1700-
/// #
1697+
/// #
17011698
/// let query = SimilarQuery::new(&movies, "1", "default").build();
17021699
/// let results = movies.similar_query::<Movie>(&query).await.unwrap();
17031700
///

0 commit comments

Comments
 (0)