Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Conversation

@nickray
Copy link
Contributor

@nickray nickray commented Aug 23, 2019

I'm sorry, it's me again...

  • std::dbg panics on failure, given dbg! is advertised as "quick n' dirty" I think this behaviour makes sense here too (no need to type .unwrap() everywhere, no unused Result warnings)
  • also to be more analogous, actually use heprintln (as already advertised in documentation)
  • I went ahead and added the nod to 2018 edition missing last time

@nickray nickray requested a review from a team as a code owner August 23, 2019 00:07
@rust-highfive
Copy link

r? @thejpster

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Aug 23, 2019
43: Actually use heprintln, and unwrap it r=adamgreig a=nickray

I'm sorry, it's me again...

- std::dbg panics on failure, given `dbg!` is advertised as "quick n' dirty" I think this behaviour makes sense here too (no need to type `.unwrap()` everywhere, no unused Result warnings)
- also to be more analogous, actually use `heprintln` (as already advertised in documentation)
- I went ahead and added the nod to 2018 edition missing last time

Co-authored-by: Nicolas Stalder <n@stalder.io>
@bors
Copy link
Contributor

bors bot commented Aug 23, 2019

Build succeeded

@bors bors bot merged commit d06a343 into rust-embedded:master Aug 23, 2019
@nickray nickray deleted the nickray-use-heprintln-and-unwrap branch August 23, 2019 00:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants