Skip to content

v0.7.1: Fix false warning about enum labels#29

Open
LelsersLasers wants to merge 2 commits into
mainfrom
millan/fix_warning
Open

v0.7.1: Fix false warning about enum labels#29
LelsersLasers wants to merge 2 commits into
mainfrom
millan/fix_warning

Conversation

@LelsersLasers
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes a spurious warning emitted when decoding signals that have metadata but no enum label map, and bumps the crate/documentation version to 0.7.1.

Changes:

  • Only emit the “missing enum label” warning when an enum map is actually present (non-empty).
  • Bump crate version from 0.7.0 to 0.7.1.
  • Update README and lockfile to reflect the new version.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/lib.rs Prevents false “missing enum label” warnings by gating the warning on a non-empty enum map.
README.md Updates the suggested dependency version to 0.7.1.
Cargo.toml Bumps package version to 0.7.1.
Cargo.lock Updates the locked package version entry for can_decode to 0.7.1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants