Skip to content

Commit f4ed12e

Browse files
Fixed typo in README
1 parent ec0c26f commit f4ed12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Once you do that, you can start adding functions, global variables, and generati
2121
let main = builder.addFunction(name: "main",
2222
type: FunctionType(argTypes: [],
2323
returnType: VoidType())
24-
let entry = builder.appendBasicBlock(named: "entry")
24+
let entry = function.appendBasicBlock(named: "entry")
2525
builder.positionAtEnd(of: entry)
2626

2727
builder.buildRetVoid()

0 commit comments

Comments
 (0)