feat(read): add zero copy interfaces for object read #561
Annotations
8 warnings
the following explicit lifetimes could be elided: 'a:
src/dataset.rs#L221
warning: the following explicit lifetimes could be elided: 'a
--> src/dataset.rs:221:22
|
221 | pub fn as_slices<'a>(&'a self) -> Vec<&'a [u8]> {
| ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
221 - pub fn as_slices<'a>(&'a self) -> Vec<&'a [u8]> {
221 + pub fn as_slices(&self) -> Vec<&[u8]> {
|
|
redundant field names in struct initialization:
src/io/async_io.rs#L325
warning: redundant field names in struct initialization
--> src/io/async_io.rs:325:13
|
325 | task_list: task_list,
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `task_list`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
the following explicit lifetimes could be elided: 'a:
src/dataset.rs#L221
warning: the following explicit lifetimes could be elided: 'a
--> src/dataset.rs:221:22
|
221 | pub fn as_slices<'a>(&'a self) -> Vec<&'a [u8]> {
| ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
221 - pub fn as_slices<'a>(&'a self) -> Vec<&'a [u8]> {
221 + pub fn as_slices(&self) -> Vec<&[u8]> {
|
|
redundant field names in struct initialization:
src/io/async_io.rs#L325
warning: redundant field names in struct initialization
--> src/io/async_io.rs:325:13
|
325 | task_list: task_list,
| ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `task_list`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `#[warn(clippy::redundant_field_names)]` on by default
|
check (ubuntu-latest, nightly-2024-09-09)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (ubuntu-latest, nightly-2024-09-09)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (ubuntu-latest, nightly-2024-09-09)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check (ubuntu-latest, nightly-2024-09-09)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|