File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ fn main() {
55 let src_dir = Path :: new ( "src" ) ;
66
77 let mut c_config = cc:: Build :: new ( ) ;
8- c_config. include ( & src_dir) ;
8+ c_config. include ( src_dir) ;
99 c_config
1010 . flag_if_supported ( "-Wno-unused-parameter" )
1111 . flag_if_supported ( "-Wno-unused-but-set-variable" )
Original file line number Diff line number Diff line change @@ -46,18 +46,18 @@ pub fn language() -> Language {
4646}
4747
4848/// The source of the Java tree-sitter grammar description.
49- pub const GRAMMAR : & ' static str = include_str ! ( "../../grammar.js" ) ;
49+ pub const GRAMMAR : & str = include_str ! ( "../../grammar.js" ) ;
5050
5151/// The syntax highlighting query for this language.
52- pub const HIGHLIGHT_QUERY : & ' static str = include_str ! ( "../../queries/highlights.scm" ) ;
52+ pub const HIGHLIGHT_QUERY : & str = include_str ! ( "../../queries/highlights.scm" ) ;
5353
5454/// The content of the [`node-types.json`][] file for this grammar.
5555///
5656/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types
57- pub const NODE_TYPES : & ' static str = include_str ! ( "../../src/node-types.json" ) ;
57+ pub const NODE_TYPES : & str = include_str ! ( "../../src/node-types.json" ) ;
5858
5959/// The symbol tagging query for this language.
60- pub const TAGGING_QUERY : & ' static str = include_str ! ( "../../queries/tags.scm" ) ;
60+ pub const TAGGING_QUERY : & str = include_str ! ( "../../queries/tags.scm" ) ;
6161
6262#[ cfg( test) ]
6363mod tests {
You can’t perform that action at this time.
0 commit comments