From c8e80ce63e66456b616ed577cc01369c1bdfae42 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Mon, 19 Aug 2024 16:53:29 +0100 Subject: [PATCH] clippy --- src/assembly/boundary/hypersingular.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assembly/boundary/hypersingular.rs b/src/assembly/boundary/hypersingular.rs index 468cb9aa..fbf9ae2a 100644 --- a/src/assembly/boundary/hypersingular.rs +++ b/src/assembly/boundary/hypersingular.rs @@ -183,7 +183,7 @@ impl<'a, T: RlstScalar + MatrixInverse> BoundaryAssembler const TABLE_DERIVS: usize = 1; type T = T; fn options(&self) -> &BoundaryAssemblerOptions { - &self.options + self.options } fn options_mut(&mut self) -> &mut BoundaryAssemblerOptions { panic!("Cannot get mutable options") @@ -269,7 +269,7 @@ impl<'a, T: RlstScalar + MatrixInverse> BoundaryAssembler const TABLE_DERIVS: usize = 0; type T = T; fn options(&self) -> &BoundaryAssemblerOptions { - &self.options + self.options } fn options_mut(&mut self) -> &mut BoundaryAssemblerOptions { panic!("Cannot get mutable options")