Browse Source

chore: remove 'static

pull/172/merge
Amaan Qureshi 2 years ago
parent
commit
212a80f864
No known key found for this signature in database GPG Key ID: E67890ADC4227273
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      bindings/rust/lib.rs

+ 3
- 3
bindings/rust/lib.rs View File

@ -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]

Loading…
Cancel
Save