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 {