fix unecessary return

This commit is contained in:
Bennet Bleßmann
2025-07-31 21:33:13 +02:00
committed by Bennet Bleßmann
parent ae3019d923
commit 495bcd73f2
3 changed files with 6 additions and 6 deletions

View File

@@ -324,7 +324,7 @@ impl ForeignFunctionTable {
let mut pointer_args =
Self::build_pointer_args(&mut args, &function_impl.args, &mut self.structs)?;
return unsafe {
unsafe {
macro_rules! call_and_return {
($type:ty) => {{
let mut n: Box<u8> = Box::new(0);
@@ -410,7 +410,7 @@ impl ForeignFunctionTable {
}
_ => unreachable!(),
}
};
}
}
fn read_struct(