Skip to content

Initial Implementation of ExistsQuery #3195

Initial Implementation of ExistsQuery

Initial Implementation of ExistsQuery #3195

Triggered via pull request August 31, 2023 02:52
Status Success
Total duration 58m 37s
Artifacts

coverage.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
an array of `Range` that is only one element: src/snippet/mod.rs#L684
warning: an array of `Range` that is only one element --> src/snippet/mod.rs:684:66 | 684 | assert_eq!(&collapse_overlapped_ranges(&[0..3, 1..2,]), &[0..3]); | ^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init help: if you wanted a `Vec` that contains the entire range, try | 684 | assert_eq!(&collapse_overlapped_ranges(&[0..3, 1..2,]), &(0..3).collect::<std::vec::Vec<usize>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: if you wanted an array of len 3, try | 684 | assert_eq!(&collapse_overlapped_ranges(&[0..3, 1..2,]), &[0; 3]); | ~~~~
an array of `Range` that is only one element: src/snippet/mod.rs#L683
warning: an array of `Range` that is only one element --> src/snippet/mod.rs:683:66 | 683 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..3,]), &[0..3]); | ^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init help: if you wanted a `Vec` that contains the entire range, try | 683 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..3,]), &(0..3).collect::<std::vec::Vec<usize>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: if you wanted an array of len 3, try | 683 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..3,]), &[0; 3]); | ~~~~
an array of `Range` that is only one element: src/snippet/mod.rs#L682
warning: an array of `Range` that is only one element --> src/snippet/mod.rs:682:66 | 682 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..2,]), &[0..2]); | ^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init = note: `#[warn(clippy::single_range_in_vec_init)]` on by default help: if you wanted a `Vec` that contains the entire range, try | 682 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..2,]), &(0..2).collect::<std::vec::Vec<usize>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help: if you wanted an array of len 2, try | 682 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..2,]), &[0; 2]); | ~~~~