Skip to content

Merge pull request #2088 from quickwit-oss/fmassot/align-type-priorit…

Sign in for the full log view
GitHub Actions / clippy succeeded Jun 11, 2023 in 0s

clippy

4 warnings

Details

Results

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

Versions

  • rustc 1.70.0 (90c541806 2023-05-31)
  • cargo 1.70.0 (ec8a8a0ca 2023-04-25)
  • clippy 0.1.70 (90c5418 2023-05-31)

Annotations

Check warning on line 880 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant clone

warning: redundant clone
   --> src/lib.rs:880:48
    |
880 |         let index = Index::create_in_ram(schema.clone());
    |                                                ^^^^^^^^ help: remove this
    |
note: this value is dropped without further use
   --> src/lib.rs:880:42
    |
880 |         let index = Index::create_in_ram(schema.clone());
    |                                          ^^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone

Check warning on line 879 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant clone

warning: redundant clone
   --> src/lib.rs:879:44
    |
879 |         let doc = doc!(json_field=>json_val.clone());
    |                                            ^^^^^^^^ help: remove this
    |
note: this value is dropped without further use
   --> src/lib.rs:879:36
    |
879 |         let doc = doc!(json_field=>json_val.clone());
    |                                    ^^^^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone

Check warning on line 125 in src/indexer/stamper.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant clone

warning: redundant clone
   --> src/indexer/stamper.rs:125:36
    |
125 |         let stamper_clone = stamper.clone();
    |                                    ^^^^^^^^ help: remove this
    |
note: cloned value is neither consumed nor mutated
   --> src/indexer/stamper.rs:125:29
    |
125 |         let stamper_clone = stamper.clone();
    |                             ^^^^^^^^^^^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone

Check warning on line 110 in src/indexer/stamper.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant clone

warning: redundant clone
   --> src/indexer/stamper.rs:110:36
    |
110 |         let stamper_clone = stamper.clone();
    |                                    ^^^^^^^^ help: remove this
    |
note: cloned value is neither consumed nor mutated
   --> src/indexer/stamper.rs:110:29
    |
110 |         let stamper_clone = stamper.clone();
    |                             ^^^^^^^^^^^^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
    = note: `#[warn(clippy::redundant_clone)]` on by default