瀏覽代碼

chore: remove 'static

pull/172/merge
Amaan Qureshi 2 年之前
父節點
當前提交
212a80f864
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: E67890ADC4227273
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      bindings/rust/lib.rs

+ 3
- 3
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]

Loading…
取消
儲存