Skip to content

Fix future incompatibility warning about fN::BITS#992

Merged
jannic merged 1 commit intorp-rs:mainfrom
jannic:fix-clippy-warning
Apr 11, 2026
Merged

Fix future incompatibility warning about fN::BITS#992
jannic merged 1 commit intorp-rs:mainfrom
jannic:fix-clippy-warning

Conversation

@jannic
Copy link
Copy Markdown
Member

@jannic jannic commented Apr 11, 2026

@thejpster
Copy link
Copy Markdown
Member

TL;DR: We used a trait to add a BITS constant to f32 and f64 and now those types are gaining the constant directly, meaning our use of f32::BITS is ambigious (is it the constant from the trait, or from the type?).

LGTM

@jannic jannic merged commit 74a382d into rp-rs:main Apr 11, 2026
49 checks passed
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