Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JojiiOfficial committed May 3, 2024
1 parent 072f991 commit 8e1a8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async fn main() -> Result<()> {
.upsert_points_blocking(collection_name, None, points, None)
.await?;

let search_point_req = SearchPointsBuilder::new(collection_name, &[11.; 10], 10)
let search_point_req = SearchPointsBuilder::new(collection_name, [11.; 10], 10)
.filter(Filter::all([Condition::matches("bar", 12)]))
.with_payload(PayloadIncludeSelector { fields: vec![] })
.params(SearchParamsBuilder::default().exact(true))
Expand Down

0 comments on commit 8e1a8cf

Please sign in to comment.