Skip to content

Commit 6f0d232

Browse files
authored
Fix typo (#11)
1 parent d9170f6 commit 6f0d232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/src/01_calculator/basic_llvm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Go to [`calculator/examples/llvm`](https://github.com/ehsanmok/create-your-own-l
1717
We want to define an add function like
1818

1919
```
20-
add(x: i32, x: i32) -> i32 { x + y }
20+
add(x: i32, y: i32) -> i32 { x + y }
2121
```
2222

2323
but using the **LLVM language** and JIT it. For that, we need to define *every* bit of what makes up a function through LLVM basic constructs such as context, module, function signature setups, argument types, basic block, etc.

0 commit comments

Comments
 (0)