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

fix clippy lint #143

Merged
merged 2 commits into from Aug 22, 2022
Merged

fix clippy lint #143

merged 2 commits into from Aug 22, 2022

Conversation

molpopgen
Copy link
Owner

  • pin to serde_yaml version causing a regression
  • fix: Metadata now errors on empty mapping
  • fix: fix clippy::unnecessary_to_owned lint

serde_yaml 0.9.7 resulted in a regression,
accepting `metadata:` (empty metadata mappings)
instead of returning Err.

See dtolnay/serde-yaml#304 and dtolnay/serde-yaml#312

This change uses a custom deserializer to error
in this case.
@molpopgen molpopgen merged commit 8023b2b into main Aug 22, 2022
@molpopgen molpopgen deleted the fix_clippy_lint branch August 22, 2022 16:45
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.

None yet

1 participant