Skip to content

Commit

Permalink
Merge pull request #185 from tgross35/update-dependencies
Browse files Browse the repository at this point in the history
Update all dependencies
  • Loading branch information
tgross35 authored Nov 18, 2024
2 parents c42b707 + 140a40c commit 3fe1362
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 234 deletions.
38 changes: 31 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include = ["bindings/rust/*", "grammar.js", "queries-flavored/helix/*", "src/*"]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "~0.20.10"
tree-sitter = "~0.24.4"

[build-dependencies]
cc = "~1.0.100"
cc = "1.2.1"
4 changes: 2 additions & 2 deletions bindings/rust/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! ```
//! let code = "";
//! let mut parser = tree_sitter::Parser::new();
//! parser.set_language(tree_sitter_just::language()).expect("Error loading just grammar");
//! parser.set_language(&tree_sitter_just::language()).expect("Error loading just grammar");
//! let tree = parser.parse(code, None).unwrap();
//! ```
//!
Expand Down Expand Up @@ -46,7 +46,7 @@ mod tests {
fn test_can_load_grammar() {
let mut parser = tree_sitter::Parser::new();
parser
.set_language(super::language())
.set_language(&super::language())
.expect("Error loading just language");
}
}
Loading

0 comments on commit 3fe1362

Please sign in to comment.