Skip to content

Conversation

@smoelius
Copy link
Contributor

Issue Addressed

None

Proposed Changes

Eliminate three uses of expect in ssz_snappy.rs.

Additional Info

None

Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

Nice one, thank you @smoelius!

I believe this is a trivial change with no side-effects (apart from the benefits of staying safe within the type system).

bors r+

@paulhauner
Copy link
Member

bors r+

@paulhauner paulhauner added the ready-for-merge This PR is ready to merge. label Dec 21, 2020
Copy link
Member

@pawanjay176 pawanjay176 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution @smoelius :)

bors bot pushed a commit that referenced this pull request Dec 21, 2020
## Issue Addressed

None

## Proposed Changes

Eliminate three uses of `expect` in `ssz_snappy.rs`.

## Additional Info

None
@bors
Copy link

bors bot commented Dec 21, 2020

Build failed:

@paulhauner
Copy link
Member

Looks like cargo audit found a new vuln. I'll have a look into this.

@michaelsproul michaelsproul changed the base branch from stable to unstable December 22, 2020 01:28
@michaelsproul
Copy link
Member

It's an instance of #2086, caused by trying to merge into the stable branch

@paulhauner
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Dec 22, 2020
## Issue Addressed

None

## Proposed Changes

Eliminate three uses of `expect` in `ssz_snappy.rs`.

## Additional Info

None
@bors
Copy link

bors bot commented Dec 22, 2020

@bors bors bot changed the title Eliminate uses of expect in ssz_snappy.rs [Merged by Bors] - Eliminate uses of expect in ssz_snappy.rs Dec 22, 2020
@bors bors bot closed this Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants