ソースを参照

chore: remove 'static

pull/172/merge
Amaan Qureshi 2年前
コミット
212a80f864
この署名に対応する既知のキーがデータベースに存在しません GPGキー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]

読み込み中…
キャンセル
保存