Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Flip ValueRc to Arc in order to allow TypedValue in errors. (#677)#678

Merged
rnewman merged 1 commit into
mozilla:masterfrom
ncalexan:arc-valuerc
May 3, 2018
Merged

Flip ValueRc to Arc in order to allow TypedValue in errors. (#677)#678
rnewman merged 1 commit into
mozilla:masterfrom
ncalexan:arc-valuerc

Conversation

@ncalexan
Copy link
Copy Markdown
Member

@ncalexan ncalexan commented May 3, 2018

@mmacedoeu did a good deal of work to show that Arc instead of Rc
wasn't too difficult in #656, and @rnewman pushed the refactoring
across the line in #659. However, we didn't flip the switch at that
time. For #673, we'd like to include TypedValue instances in errors,
and with error-chain (and failure) error types need to be 'Sync +
'Send, so we need Arc.

This builds on #659 and should also finish #656.

)

@mmacedoeu did a good deal of work to show that Arc instead of Rc
wasn't too difficult in mozilla#656, and @rnewman pushed the refactoring
across the line in mozilla#659. However, we didn't flip the switch at that
time. For mozilla#673, we'd like to include TypedValue instances in errors,
and with error-chain (and failure) error types need to be 'Sync +
'Send, so we need Arc.

This builds on mozilla#659 and should also finish mozilla#656.
@rnewman rnewman merged commit 90465ae into mozilla:master May 3, 2018
@rnewman rnewman mentioned this pull request May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants