Skip to content

split into ReferenceValueLeaf (#2217) #3327

split into ReferenceValueLeaf (#2217)

split into ReferenceValueLeaf (#2217) #3327

Triggered via push October 16, 2023 14:31
Status Success
Total duration 1h 2m 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

coverage.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
coverage
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
an array of `Range` that is only one element: src/snippet/mod.rs#L693
warning: an array of `Range` that is only one element --> src/snippet/mod.rs:693:66 | 693 | 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 | 693 | 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 | 693 | assert_eq!(&collapse_overlapped_ranges(&[0..3, 1..2,]), &[0; 3]); | ~~~~
an array of `Range` that is only one element: src/snippet/mod.rs#L692
warning: an array of `Range` that is only one element --> src/snippet/mod.rs:692:66 | 692 | 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 | 692 | 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 | 692 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..3,]), &[0; 3]); | ~~~~
an array of `Range` that is only one element: src/snippet/mod.rs#L691
warning: an array of `Range` that is only one element --> src/snippet/mod.rs:691:66 | 691 | 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 | 691 | 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 | 691 | assert_eq!(&collapse_overlapped_ranges(&[0..2, 1..2,]), &[0; 2]); | ~~~~
manual check for common ascii range: src/schema/document/owned_value.rs#L372
warning: manual check for common ascii range --> src/schema/document/owned_value.rs:372:12 | 372 | if (b'0'..=b'9').contains(&first_byte) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `first_byte.is_ascii_digit()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_ascii_check = note: `#[warn(clippy::manual_is_ascii_check)]` on by default