feat(tags): implement Send + Sync for TagsConfiguration
This is sound because the pointers point to data owned by the struct itself
This commit is contained in:
parent
27bc78698d
commit
f23a52f410
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ pub struct TagsConfiguration {
|
|||
pattern_info: Vec<PatternInfo>,
|
||||
}
|
||||
|
||||
unsafe impl Send for TagsConfiguration {}
|
||||
unsafe impl Sync for TagsConfiguration {}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct NamedCapture {
|
||||
pub syntax_type_id: u32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue