Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a41c3e3

Browse files
committed
Give node_types a static lifetime.
1 parent 5484ff3 commit a41c3e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

generator/src/language.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::path::PathBuf;
22

3-
pub struct Language<'a> {
3+
pub struct Language {
44
pub name: String,
5-
pub node_types: &'a str,
5+
pub node_types: &'static str,
66
pub dbscheme_path: PathBuf,
77
}

0 commit comments

Comments
 (0)