add Send+Sync trait bound to TypeDict
This commit is contained in:
parent
eec78f24ab
commit
f61605a865
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub enum TypeID {
|
|||
Var(u64)
|
||||
}
|
||||
|
||||
pub trait TypeDict {
|
||||
pub trait TypeDict : Send + Sync {
|
||||
fn insert(&mut self, name: String, id: TypeID);
|
||||
fn add_varname(&mut self, vn: String) -> TypeID;
|
||||
fn add_typename(&mut self, tn: String) -> TypeID;
|
||||
|
|
Loading…
Reference in a new issue