Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Use Ref::map to simplify SnapshotFiles #37

Open
mbrt opened this issue Dec 8, 2015 · 0 comments
Open

Use Ref::map to simplify SnapshotFiles #37

mbrt opened this issue Dec 8, 2015 · 0 comments

Comments

@mbrt
Copy link
Owner

mbrt commented Dec 8, 2015

Right now we have to pass a Ref<Option<Chain>> and an index to build a SnapshotFiles instance.
This can be simplified into a simple Ref<signature::SnapshotFiles>, whenever Ref::map will be marked as stable.

Waiting for rust-lang/rust#27746.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant