Skip to content

Commit 97c1041

Browse files
Fix clippy warning
1 parent 6abde79 commit 97c1041

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/collection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl Collection {
123123

124124
// Remove any existing items with the same attributes
125125
if replace {
126-
let existing_items = self.search_inner_items(&attributes).await;
126+
let existing_items = self.search_inner_items(attributes).await;
127127
if !existing_items.is_empty() {
128128
let mut items = self.items.lock().await;
129129
for existing in &existing_items {

0 commit comments

Comments
 (0)