Fix a few more upcoming Clippy lints #2133
Merged
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
succeeded
Jul 23, 2023 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.71.0 (8ede3aae2 2023-07-12)
- cargo 1.71.0 (cfd3bbd8f 2023-06-08)
- clippy 0.1.71 (8ede3aa 2023-07-12)
Annotations
Check warning on line 468 in src/aggregation/bucket/range.rs
github-actions / clippy
the function `SegmentRangeCollector::from_req_and_validate` doesn't need a mutable reference
warning: the function `SegmentRangeCollector::from_req_and_validate` doesn't need a mutable reference
--> src/aggregation/bucket/range.rs:468:13
|
468 | &mut AggregationLimits::default().new_guard(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
Loading