chore: Fix Rust 1.82 clippy lints#3195
Merged
Bravo555 merged 2 commits intothin-edge:mainfrom Oct 18, 2024
Merged
Conversation
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Contributor
Robot Results
|
Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files📢 Thoughts on this report? Let us know! |
didier-wenzek
approved these changes
Oct 18, 2024
Comment on lines
-33
to
-40
| /// Represents an "Entity topic identifier" portion of the MQTT topic | ||
| /// | ||
| /// Example: | ||
| /// - topic: `te/device/dev1/service/myservice/m//my_measurement` | ||
| /// - entity id: `device/dev1/service/myservice` | ||
| /// | ||
| /// <https://thin-edge.github.io/thin-edge.io/next/references/mqtt-api/#group-identifier> | ||
|
|
Contributor
There was a problem hiding this comment.
Might be good to attach this definition to a type or a module, rather than remove it.
Member
Author
There was a problem hiding this comment.
This comment is for EntityTopicId. The struct was moved to another module along with the comment, but the comment in this module wasn't deleted.
thin-edge.io/crates/core/tedge_api/src/mqtt_topics.rs
Lines 275 to 292 in 0748986
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Today, Rust 1.82 was published, which means there are new clippy lints breaking our CI that we get to fix. Yay 🎉
I also fixed lints present on nightly (1.84), so we should be good for a while.
Types of changes
Paste Link to the issue
Checklist
cargo fmtas mentioned in CODING_GUIDELINEScargo clippyas mentioned in CODING_GUIDELINESFurther comments