Skip to content

update columnar bench (#2438) #3451

update columnar bench (#2438)

update columnar bench (#2438) #3451

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

clippy

5 warnings

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 556 in src/schema/document/default_document.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

transmute used without annotations

warning: transmute used without annotations
   --> src/schema/document/default_document.rs:556:32
    |
556 |             unsafe { std::mem::transmute(num) }
    |                                ^^^^^^^^^ help: consider adding missing annotations: `transmute::<u8, schema::document::default_document::ValueType>`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
    = note: `#[warn(clippy::missing_transmute_annotations)]` 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

Check warning on line 2215 in src/indexer/index_writer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant closure

warning: redundant closure
    --> src/indexer/index_writer.rs:2215:41
     |
2215 |         let ops: Vec<_> = (0..1000).map(|id| IndexingOp::add(id)).collect();
     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `IndexingOp::add`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
     = note: `#[warn(clippy::redundant_closure)]` on by default

Check warning on line 1580 in src/indexer/index_writer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
    --> src/indexer/index_writer.rs:1580:41
     |
1580 |                     existing_ids.remove(&id);
     |                                         ^^^ help: change this to: `id`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Check warning on line 1576 in src/indexer/index_writer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
    --> src/indexer/index_writer.rs:1576:41
     |
1576 |                     existing_ids.remove(&id);
     |                                         ^^^ help: change this to: `id`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
     = note: `#[warn(clippy::needless_borrow)]` on by default