Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

--chain option for setting which network to go on. #388

Merged
merged 2 commits into from Feb 9, 2016
Merged

Conversation

gavofyork
Copy link
Contributor

Add contents function to util.

@gavofyork gavofyork added the A0-pleasereview 🤓 Pull request needs code review. label Feb 9, 2016
/// Read the whole contents of a file `name`.
pub fn contents(name: &str) -> Result<Bytes, UtilError> {
let mut file = try!(File::open(name));
let mut ret: Vec<u8> = Vec::new();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces instead of tabs

@NikVolf NikVolf added A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 9, 2016
@gavofyork gavofyork added A0-pleasereview 🤓 Pull request needs code review. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Feb 9, 2016
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 9, 2016
gavofyork pushed a commit that referenced this pull request Feb 9, 2016
--chain option for setting which network to go on.
@gavofyork gavofyork merged commit 015aaad into master Feb 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants