Skip to content

Commit

Permalink
chore: remove 'static
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Nov 17, 2023
1 parent 28724a8 commit 212a80f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/rust/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 212a80f

Please sign in to comment.