Skip to content

Conversions MultiValueEncodedCounted <-> MultiValueManagedVecCounted, test & support #383

Conversions MultiValueEncodedCounted <-> MultiValueManagedVecCounted, test & support

Conversions MultiValueEncodedCounted <-> MultiValueManagedVecCounted, test & support #383

GitHub Actions / clippy failed Nov 15, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (4)

framework/base/src/types/managed/wrapped/managed_vec_item.rs|368 col 16| warning: redundant slicing of the whole range
--> framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16
|
368 | writer(&payload_slice[..])
| ^^^^^^^^^^^^^^^^^^ help: use the original value instead: payload_slice
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
= note: #[warn(clippy::redundant_slicing)] on by default
framework/base/src/types/managed/wrapped/managed_vec_item.rs|435 col 16| warning: redundant slicing of the whole range
--> framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16
|
435 | writer(&payload_slice[..])
| ^^^^^^^^^^^^^^^^^^ help: use the original value instead: payload_slice
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
framework/base/src/types/managed/wrapped/managed_vec_item.rs|368 col 16| warning: redundant slicing of the whole range
--> framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16
|
368 | writer(&payload_slice[..])
| ^^^^^^^^^^^^^^^^^^ help: use the original value instead: payload_slice
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
= note: #[warn(clippy::redundant_slicing)] on by default
framework/base/src/types/managed/wrapped/managed_vec_item.rs|435 col 16| warning: redundant slicing of the whole range
--> framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16
|
435 | writer(&payload_slice[..])
| ^^^^^^^^^^^^^^^^^^ help: use the original value instead: payload_slice
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing

Filtered Findings (0)

Annotations

Check warning on line 368 in framework/base/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/wrapped/managed_vec_item.rs#L368

warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16
    |
368 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
    = note: `#[warn(clippy::redundant_slicing)]` on by default
Raw output
framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16:w:warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16
    |
368 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
    = note: `#[warn(clippy::redundant_slicing)]` on by default


__END__

Check warning on line 435 in framework/base/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/wrapped/managed_vec_item.rs#L435

warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16
    |
435 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
Raw output
framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16:w:warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16
    |
435 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing


__END__

Check warning on line 368 in framework/base/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/wrapped/managed_vec_item.rs#L368

warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16
    |
368 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
    = note: `#[warn(clippy::redundant_slicing)]` on by default
Raw output
framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16:w:warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:368:16
    |
368 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
    = note: `#[warn(clippy::redundant_slicing)]` on by default


__END__

Check warning on line 435 in framework/base/src/types/managed/wrapped/managed_vec_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/wrapped/managed_vec_item.rs#L435

warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16
    |
435 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing
Raw output
framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16:w:warning: redundant slicing of the whole range
   --> framework/base/src/types/managed/wrapped/managed_vec_item.rs:435:16
    |
435 |         writer(&payload_slice[..])
    |                ^^^^^^^^^^^^^^^^^^ help: use the original value instead: `payload_slice`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing


__END__