Skip to content

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

Merged
LelsersLasers merged 2 commits into
mainfrom
millan/fix_warning
May 27, 2026
Merged

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

Conversation

@LelsersLasers

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

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.

@LelsersLasers LelsersLasers merged commit 9df377e into main May 27, 2026
5 checks passed
@LelsersLasers LelsersLasers deleted the millan/fix_warning branch May 27, 2026 21:26
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.

3 participants