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]