Skip to content

feat: expose strucvars annotation for worker aggregation command #377

feat: expose strucvars annotation for worker aggregation command

feat: expose strucvars annotation for worker aggregation command #377

GitHub Actions / clippy succeeded Oct 9, 2023 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 110 in src/db/create/txs/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert` to construct default value

warning: use of `or_insert` to construct default value
   --> src/db/create/txs/mod.rs:110:18
    |
110 |                 .or_insert(Vec::new());
    |                  ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
    = note: `#[warn(clippy::unwrap_or_default)]` on by default