Skip to content

Commit

Permalink
Fix some formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Dec 19, 2023
1 parent cc1a5a5 commit 5569c0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rust-code-analysis-book/src/developers/update-grammars.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ We are going to explain how to update both of them in the following sections.
```toml
tree-sitter-java = "x.xx.x"
```

where `x` represents a digit.

2. Run `./recreate-grammars` to recreate and refresh all grammars structures and data
Expand All @@ -39,10 +38,9 @@ introduced by changes in the grammars.

1. Update dependency `version` field in `Cargo.toml` and `enums/Cargo.toml`. Below an example for the `tree-sitter-ccomment` grammar

```bash
```toml
tree-sitter-ccomment = { path = "./tree-sitter-ccomment", version = "=x.xx.x" }
```
where `x` represents a digit.

2. Open the `Cargo.toml` file of the chosen grammar and:
Expand Down

0 comments on commit 5569c0f

Please sign in to comment.