Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Jun 20, 2024
1 parent ac00e69 commit c5a253b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/qdrant_client/builers/vectors_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ impl From<VectorsConfigBuilder> for VectorsConfig {

if builder.params.len() == 1 && builder.params.contains_key(DEFAULT_VECTOR_NAME) {
return VectorsConfig {
config: Some(Config::from(builder.params.remove(DEFAULT_VECTOR_NAME).unwrap())),
config: Some(Config::from(
builder.params.remove(DEFAULT_VECTOR_NAME).unwrap(),
)),
};
}

Expand Down

0 comments on commit c5a253b

Please sign in to comment.