Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Nov 5, 2021
1 parent 7ccd6af commit 190d670
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/compiler-llvm/src/trampoline/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ use inkwell::{
AddressSpace, DLLStorageClass,
};
use std::cmp;
use std::convert::TryInto;
use std::convert::TryFrom;
use std::convert::TryInto;
use wasmer_compiler::{CompileError, FunctionBody, RelocationTarget};
use wasmer_types::{FunctionType, LocalFunctionIndex};

Expand Down
3 changes: 2 additions & 1 deletion lib/compiler-llvm/src/translator/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2519,7 +2519,8 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
}
}
*/
let callable_func = inkwell::values::CallableValue::try_from(typed_func_ptr).unwrap();
let callable_func =
inkwell::values::CallableValue::try_from(typed_func_ptr).unwrap();
let call_site = self.builder.build_call(
callable_func,
params
Expand Down

0 comments on commit 190d670

Please sign in to comment.