Fixed outdated README example
@@ -90,12 +90,12 @@ fn run() -> Result<(), Box<Error>> {
Ok(())
}
-fn jit_compile_sum<'engine>(
+fn jit_compile_sum(
context: &Context,
module: &Module,
builder: &Builder,
- execution_engine: &'engine ExecutionEngine,
-) -> Option<JitFunction<'engine, SumFunc>> {
+ execution_engine: &ExecutionEngine,
+) -> Option<JitFunction<SumFunc>> {
let i64_type = context.i64_type();
let fn_type = i64_type.fn_type(&[i64_type.into(), i64_type.into(), i64_type.into()], false);
