Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark Operation enum as non_exhaustive #41

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Mark Operation enum as non_exhaustive #41

merged 1 commit into from
Jan 30, 2020

Conversation

srishanbhattarai
Copy link
Contributor

Since rust-lang/rust#44109 has landed, remove the hackery around non-exhaustive matching
and use the attribute #[non_exhaustive] instead.

@codecov
Copy link

codecov bot commented Jan 30, 2020

Codecov Report

Merging #41 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   78.65%   78.65%           
=======================================
  Files           7        7           
  Lines         684      684           
=======================================
  Hits          538      538           
  Misses        146      146
Impacted Files Coverage Δ
src/write.rs 70.61% <ø> (ø) ⬆️
src/lib.rs 58.82% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d56d013...81e4734. Read the comment docs.

@jonhoo
Copy link
Owner

jonhoo commented Jan 30, 2020

Ah, yes, excellent! Could you please also bump the minimum Rust version in azure-pipelines.yml?

Since rust-lang/rust#44109 has landed, remove the hackery around non-exhaustive matching
and use the attribute #[non_exhaustive] instead.

Additionally, bump the min Rust version to [1.40.0](https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1400-2019-12-19)
@srishanbhattarai
Copy link
Contributor Author

@jonhoo Done - all green now!

@jonhoo jonhoo merged commit b4d8034 into jonhoo:master Jan 30, 2020
jonhoo added a commit that referenced this pull request Jan 30, 2020
@jonhoo
Copy link
Owner

jonhoo commented Jan 30, 2020

Published as 8.0.1 🎉

@srishanbhattarai srishanbhattarai deleted the non-exhaustive-op branch January 30, 2020 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants