From 5525fd43479cb77408623e34abe2480eea35e7bb Mon Sep 17 00:00:00 2001 From: Tobias Tom Hodapp Date: Wed, 4 Dec 2024 17:18:06 +0100 Subject: [PATCH] Fixed error in treesitter binding --- tree-sitter-sus/bindings/rust/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tree-sitter-sus/bindings/rust/lib.rs b/tree-sitter-sus/bindings/rust/lib.rs index e1b16eb..375ac6f 100644 --- a/tree-sitter-sus/bindings/rust/lib.rs +++ b/tree-sitter-sus/bindings/rust/lib.rs @@ -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 sus language"); } }