From 21a644ffabb87ec3083644356257d92bf3a746f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 5 Sep 2026 08:15:20 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test:=20clippy=20cloned=5Fref=5F?= =?UTF-8?q?to=5Fslice=5Frefs=20in=20rag=5Foutput=20round-trip=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/domain/rag_output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/rag_output.rs b/src/domain/rag_output.rs index 7d2c085..2fdbe29 100644 --- a/src/domain/rag_output.rs +++ b/src/domain/rag_output.rs @@ -231,7 +231,7 @@ mod tests { .unwrap(); assert_eq!(read.get_payload()["summary"], "x"); assert_eq!(read.get_payload()["chunks"][0]["text"], "y"); - assert_eq!(read.get_sources(), &[file.clone()]); + assert_eq!(read.get_sources(), std::slice::from_ref(&file)); assert_eq!(read.get_course(), note.get_course()); let untouched = RagOutput::create(