Make const decoding from the incremental cache thread-safe.

This commit is contained in:
Michael Woerister 2018-05-25 17:19:31 +02:00
parent f9f90ede82
commit 24dfcbef9c
4 changed files with 181 additions and 42 deletions

View file

@ -174,7 +174,7 @@ mod test {
}
}
assert!(!list.contains(i));
assert!(!list.contains(&i));
if do_insert(i) {
list.insert(i);