Open
Bug 2031375
Opened 3 months ago
Fix a clippy warning in toolkit/components/glean/api/src/private/denominator.rs
Categories
(Developer Infrastructure :: Lint and Formatting, task)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
NEW
People
(Reporter: Sylvestre, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=rust])
Filing as a good first bug to learn workflows.
toolkit/components/glean/api/src/private/denominator.rs
87:17 warning useless conversion to the same type: `private::metric_getter::BaseMetricId` clippy::useless_conversion (clippy)
Link to the code:
https://searchfox.org/mozilla-central/source/toolkit/components/glean/api/src/private/denominator.rs#87
To run the linter:
./mach lint -W -l clippy toolkit/components/glean/api/src/private/denominator.rs
As the change is trivial, it is just to learn how to contribute to Firefox.
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html
Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.
You need to log in
before you can comment on or make changes to this bug.
Description
•