Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3dcf34d

Browse files
committed
Fix clippy func clone warning
1 parent a11ba70 commit 3dcf34d

File tree

1 file changed

+1
-1
lines changed
  • calculator/src/compiler

1 file changed

+1
-1
lines changed

‎calculator/src/compiler/jit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl Compile for Jit {
2727
let fn_type = i32_type.fn_type(&[], false);
2828

2929
let function = module.add_function("jit", fn_type, None);
30-
let basic_block = context.append_basic_block(function.clone(), "entry");
30+
let basic_block = context.append_basic_block(function, "entry");
3131

3232
builder.position_at_end(basic_block);
3333

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /