Skip to content

Update sketches-ddsketch requirement from 0.2.1 to 0.3.0 (#2423) #814

Update sketches-ddsketch requirement from 0.2.1 to 0.3.0 (#2423)

Update sketches-ddsketch requirement from 0.2.1 to 0.3.0 (#2423) #814

GitHub Actions / clippy succeeded Jun 4, 2024 in 1s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check warning on line 232 in src/aggregation/metric/extended_stats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`f64` -> `f64`)

warning: casting to the same type is unnecessary (`f64` -> `f64`)
   --> src/aggregation/metric/extended_stats.rs:232:59
    |
232 |         self.mean = (self.intermediate_stats.sum as f64 + other.intermediate_stats.sum as f64)
    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `other.intermediate_stats.sum`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast

Check warning on line 232 in src/aggregation/metric/extended_stats.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`f64` -> `f64`)

warning: casting to the same type is unnecessary (`f64` -> `f64`)
   --> src/aggregation/metric/extended_stats.rs:232:22
    |
232 |         self.mean = (self.intermediate_stats.sum as f64 + other.intermediate_stats.sum as f64)
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.intermediate_stats.sum`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
    = note: `#[warn(clippy::unnecessary_cast)]` on by default

Check warning on line 294 in src/indexer/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `format!`

warning: useless use of `format!`
   --> src/indexer/mod.rs:294:14
    |
294 |             (format!("{field_name_out_internal}"), Type::Str),
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `field_name_out_internal.to_string()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
    = note: `#[warn(clippy::useless_format)]` on by default