Skip to content

Commit

Permalink
Merge pull request swiftlang#184 from kierajmumick/km-update-readme
Browse files Browse the repository at this point in the history
Update README to Reflect Recent API changes
  • Loading branch information
akyrtzi committed Dec 4, 2019
2 parents d4caa56 + 998732c commit e7647a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class AddOneToIntegerLiterals: SyntaxRewriter {

let file = CommandLine.arguments[1]
let url = URL(fileURLWithPath: file)
let sourceFile = try SyntaxTreeParser.parse(url)
let sourceFile = try SyntaxParser.parse(url)
let incremented = AddOneToIntegerLiterals().visit(sourceFile)
print(incremented)
```
Expand Down

0 comments on commit e7647a2

Please sign in to comment.