From 212a80f86452bb1316324fa0db730cf52f29e05a Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Fri, 17 Nov 2023 05:50:56 -0500 Subject: [PATCH] chore: remove 'static --- bindings/rust/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index dd0d261..7420bb1 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -49,14 +49,14 @@ pub const GRAMMAR: &str = include_str!("../../grammar.js"); /// The syntax highlighting query for this language. pub const HIGHLIGHT_QUERY: &str = include_str!("../../queries/highlights.scm"); +/// The symbol tagging query for this language. +pub const TAGS_QUERY: &str = include_str!("../../queries/tags.scm"); + /// The content of the [`node-types.json`][] file for this grammar. /// /// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types pub const NODE_TYPES: &str = include_str!("../../src/node-types.json"); -/// The symbol tagging query for this language. -pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm"); - #[cfg(test)] mod tests { #[test]