Pooled storage #543
Triggered via pull request
December 18, 2024 03:33
Status
Success
Total duration
11m 17s
Artifacts
–
Annotations
9 warnings
the following explicit lifetimes could be elided: 'a:
src/dataset.rs#L313
warning: the following explicit lifetimes could be elided: 'a
--> src/dataset.rs:313:28
|
313 | pub fn dataset_options<'a>(&'a self) -> DatasetOptions<'a, Init> {
| ^^ ^^ ^^
|
= 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
|
313 - pub fn dataset_options<'a>(&'a self) -> DatasetOptions<'a, Init> {
313 + pub fn dataset_options(&self) -> DatasetOptions<'_, Init> {
|
|
you should consider adding a `Default` implementation for `KvSetOption`:
src/dataset.rs#L163
warning: you should consider adding a `Default` implementation for `KvSetOption`
--> src/dataset.rs:163:5
|
163 | / pub fn new() -> Self {
164 | | Self(0)
165 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
162 + impl Default for KvSetOption {
163 + fn default() -> Self {
164 + Self::new()
165 + }
166 + }
|
|
the following explicit lifetimes could be elided: 'a:
src/dataset.rs#L313
warning: the following explicit lifetimes could be elided: 'a
--> src/dataset.rs:313:28
|
313 | pub fn dataset_options<'a>(&'a self) -> DatasetOptions<'a, Init> {
| ^^ ^^ ^^
|
= 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
|
313 - pub fn dataset_options<'a>(&'a self) -> DatasetOptions<'a, Init> {
313 + pub fn dataset_options(&self) -> DatasetOptions<'_, Init> {
|
|
you should consider adding a `Default` implementation for `KvSetOption`:
src/dataset.rs#L163
warning: you should consider adding a `Default` implementation for `KvSetOption`
--> src/dataset.rs:163:5
|
163 | / pub fn new() -> Self {
164 | | Self(0)
165 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
162 + impl Default for KvSetOption {
163 + fn default() -> Self {
164 + Self::new()
165 + }
166 + }
|
|
check (ubuntu-latest, nightly-2024-09-09)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/
|