Skip to content

Commit

Permalink
clippy again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellen Arteca committed Dec 3, 2024
1 parent 66f5537 commit 4e5d9b7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tool/src/kotlin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1189,11 +1189,9 @@ returnVal.option() ?: return null
}
}
_ => {
let should_be_overridden = self.formatter.method_should_be_overridden(
method,
&params,
return_ty.as_ref(),
);
let should_be_overridden =
self.formatter
.method_should_be_overridden(method, &params, return_ty.as_ref());
format!(
"{}fun {}({}): {return_ty}",
if should_be_overridden {
Expand Down

0 comments on commit 4e5d9b7

Please sign in to comment.