Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
torrancew committed Jan 20, 2025
1 parent e6904c1 commit 1172b08
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions engine/src/conversion/analysis/fun/function_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,6 @@ impl TypeConversionPolicy {
}
}

pub(crate) fn make_result_type(&self) -> Type {
let innerty = &self.unwrapped_type;
parse_quote! {
Result< #innerty , cxx::Exception >
}
}

pub(crate) fn rust_work_needed(&self) -> bool {
!matches!(self.rust_conversion, RustConversionType::None)
}
Expand Down

0 comments on commit 1172b08

Please sign in to comment.