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

Avoid using ok_or with allocated argument #7357

Merged
merged 1 commit into from Dec 22, 2017
Merged

Avoid using ok_or with allocated argument #7357

merged 1 commit into from Dec 22, 2017

Conversation

NikVolf
Copy link
Contributor

@NikVolf NikVolf commented Dec 21, 2017

Since it allocates even when there were no error

@NikVolf NikVolf added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels Dec 21, 2017
@tomusdrw tomusdrw added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 21, 2017
@debris debris merged commit 6f51660 into master Dec 22, 2017
@debris debris deleted the unwrap-or branch December 22, 2017 10:55
@5chdn 5chdn added this to the 1.9 milestone Jan 3, 2018
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. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants