From a8f57e80435d3dd5b592da01c6079f1d8a91cceb Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 9 Sep 2025 01:08:02 +0800 Subject: [PATCH] Format code Signed-off-by: Xuanwo --- nodejs/src/query.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/nodejs/src/query.rs b/nodejs/src/query.rs index b6be4d2c..415d20bb 100644 --- a/nodejs/src/query.rs +++ b/nodejs/src/query.rs @@ -90,10 +90,7 @@ impl Query { #[napi] pub fn disable_scoring_autoprojection(&mut self) { - self.inner = self - .inner - .clone() - .disable_scoring_autoprojection(); + self.inner = self.inner.clone().disable_scoring_autoprojection(); } #[napi(catch_unwind)] @@ -275,10 +272,7 @@ impl VectorQuery { #[napi] pub fn disable_scoring_autoprojection(&mut self) { - self.inner = self - .inner - .clone() - .disable_scoring_autoprojection(); + self.inner = self.inner.clone().disable_scoring_autoprojection(); } #[napi]