Skip to content

PR #2990

PR #2990 #761

Triggered via dynamic July 6, 2026 18:25
Status Success
Total duration 48s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
casting to the same type is unnecessary (`u64` -> `u64`): src/aggregation/intermediate_agg_result.rs#L1260
warning: casting to the same type is unnecessary (`u64` -> `u64`) --> src/aggregation/intermediate_agg_result.rs:1260:32 | 1260 | doc_count: entry.doc_count as u64, | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `entry.doc_count` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_cast
casting to the same type is unnecessary (`u64` -> `u64`): src/aggregation/intermediate_agg_result.rs#L880
warning: casting to the same type is unnecessary (`u64` -> `u64`) --> src/aggregation/intermediate_agg_result.rs:880:32 | 880 | doc_count: entry.doc_count as u64, | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `entry.doc_count` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_cast
casting to the same type is unnecessary (`u64` -> `u64`): src/aggregation/intermediate_agg_result.rs#L868
warning: casting to the same type is unnecessary (`u64` -> `u64`) --> src/aggregation/intermediate_agg_result.rs:868:30 | 868 | .filter(|bucket| bucket.1.doc_count as u64 >= req.min_doc_count) | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `bucket.1.doc_count` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_cast
casting to the same type is unnecessary (`u64` -> `u64`): src/aggregation/bucket/term_agg/mod.rs#L1313
warning: casting to the same type is unnecessary (`u64` -> `u64`) --> src/aggregation/bucket/term_agg/mod.rs:1313:9 | 1313 | self.1.doc_count as u64 | ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.1.doc_count` | = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default