Make const decoding from the incremental cache thread-safe.
This commit is contained in:
parent
f9f90ede82
commit
24dfcbef9c
4 changed files with 181 additions and 42 deletions
|
|
@ -174,7 +174,7 @@ mod test {
|
|||
}
|
||||
}
|
||||
|
||||
assert!(!list.contains(i));
|
||||
assert!(!list.contains(&i));
|
||||
|
||||
if do_insert(i) {
|
||||
list.insert(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue