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

SeedHashCompute remove needless new implementation #9063

Merged
merged 1 commit into from Jul 9, 2018

Conversation

niklasad1
Copy link
Collaborator

No description provided.

@niklasad1 niklasad1 added A0-pleasereview 🤓 Pull request needs code review. A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). M4-core ⛓ Core client code / Rust. labels Jul 6, 2018
@5chdn 5chdn added this to the 2.0 milestone Jul 7, 2018
Copy link
Collaborator

@ordian ordian left a comment

Choose a reason for hiding this comment

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

I would prefer to keep the new constructor, but implement it in terms of default. From api-guidelines:

Note that it is common and expected for types to implement both Default and a new constructor.

@5chdn 5chdn added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jul 9, 2018
@5chdn 5chdn merged commit 91122d9 into master Jul 9, 2018
@5chdn 5chdn deleted the seedhashcompute-needless-new-impl branch July 9, 2018 14:48
dvdplm added a commit that referenced this pull request Jul 10, 2018
* master:
  Clean up deprecated options and add CHECK macro (#9036)
  Replace `std::env::home_dir` with `dirs::home_dir` (#9077)
  fix warning in secret-store test (#9074)
  SeedHashCompute remove needless `new` impl (#9063)
  remove trait bounds from several structs (#9055)
  docs: add changelog for 1.10.9 stable and 1.11.6 beta (#9069)
  Enable test in `miner/pool/test` (#9072)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial 👶 Pull request requires no code review (e.g., a sub-repository hash update). A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants