Skip to content

Commit 3e343b4

Browse files
committed
Fixed clippy error
1 parent 2742bca commit 3e343b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cortexadb-core/src/facade.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ impl CortexaDB {
330330

331331
for rec in records {
332332
let id = MemoryId(self.next_id.fetch_add(1, std::sync::atomic::Ordering::Relaxed));
333-
let mut entry = MemoryEntry::new(id.clone(), rec.collection, rec.content, ts);
333+
let mut entry = MemoryEntry::new(id, rec.collection, rec.content, ts);
334334
if let Some(emb) = rec.embedding {
335335
entry = entry.with_embedding(emb);
336336
}

0 commit comments

Comments
 (0)