adding send and sync?
This commit is contained in:
parent
4e7e050bf6
commit
3c7fba4a2f
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ pub enum Value {
|
||||||
Keyword(Keyword),
|
Keyword(Keyword),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Sync for Value {}
|
||||||
|
|
||||||
|
unsafe impl Send for Value {}
|
||||||
|
|
||||||
impl Value {
|
impl Value {
|
||||||
fn parse(str: &str) -> Self {
|
fn parse(str: &str) -> Self {
|
||||||
match str {
|
match str {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue