Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellen Arteca committed Dec 6, 2024
1 parent b42dea5 commit 4b00a85
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tool/src/kotlin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -850,12 +850,11 @@ val intermediateOption = {val_name}.option() ?: return null
let err_path = err
.as_ref()
.map(|err| {
let err_converter =
if let OutType::Opaque(..) | OutType::Struct(..) = err {
".err()"
} else {
".primitive_err()"
};
let err_converter = if let OutType::Opaque(..) | OutType::Struct(..) = err {
".err()"
} else {
".primitive_err()"
};

self.gen_out_type_return_conversion(
method,
Expand Down

0 comments on commit 4b00a85

Please sign in to comment.