rust-embedded-community / rust-measurements

Metric, Imperial, and other measurement handling for Rust. Length, Temperature, Weight, and Volume
https://crates.io/crates/measurements
27 stars 10 forks source link

Align member implementation order with trait #55

Closed sunsided closed 1 year ago

sunsided commented 1 year ago

All this PR does is reorder the impl Measurement blocks such that the order of function implementations aligns with the declaration order in the Measurement trait itself. Nothing else was changed.

This resolves the "Different impl member order from the trait" warnings in JetBrains IDE's Rust plugin.

sunsided commented 1 year ago

@eldruin Apologies, that's embarrassing - it sneaked in from another branch and wasn't supposed to be here. I amended the last commit.