From 4e5d9b7d44b1682fd84703bd86de8f2a0fe1425e Mon Sep 17 00:00:00 2001 From: Ellen Arteca Date: Mon, 2 Dec 2024 17:40:25 -0800 Subject: [PATCH] clippy again --- tool/src/kotlin/mod.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tool/src/kotlin/mod.rs b/tool/src/kotlin/mod.rs index 2ec1b08c1..ff73892d6 100644 --- a/tool/src/kotlin/mod.rs +++ b/tool/src/kotlin/mod.rs @@ -1189,11 +1189,9 @@ returnVal.option() ?: return null } } _ => { - let should_be_overridden = self.formatter.method_should_be_overridden( - method, - ¶ms, - return_ty.as_ref(), - ); + let should_be_overridden = + self.formatter + .method_should_be_overridden(method, ¶ms, return_ty.as_ref()); format!( "{}fun {}({}): {return_ty}", if should_be_overridden {