Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ranadeep Biswas
dbcop
Commits
a0fea73d
Commit
a0fea73d
authored
Jun 15, 2018
by
Ranadeep Biswas
Browse files
Fix serialization code
parent
dc0c94a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/consistency/ser.rs
View file @
a0fea73d
...
...
@@ -337,9 +337,9 @@ impl Chains {
last_wr
.remove
(
x
);
}
for
(
&
x
,
&
rf_txn
)
in
rd_info
.iter
()
{
let
mut
s
=
HashSet
::
new
();
s
.insert
(
cand
);
last_wr
.insert
(
x
,
(
rf_txn
,
s
)
);
let
ent
=
last_wr
.entry
(
x
)
.or_insert_with
(||
(
rf_txn
,
HashSet
::
new
()
))
;
assert_eq!
(
ent
.0
,
rf_txn
);
ent
.1
.insert
(
cand
);
}
if
let
Some
(
it
)
=
self
.vis_closure.forward_edge
.get
(
&
cand
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment