Fixes errors when building docs. #128
Annotations
14 warnings
the following explicit lifetimes could be elided: 'a:
src/nor_flash.rs#L334
warning: the following explicit lifetimes could be elided: 'a
--> src/nor_flash.rs:334:6
|
334 | impl<'a, S> Storage for RmwMultiwriteNorFlashStorage<'a, S>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
334 - impl<'a, S> Storage for RmwMultiwriteNorFlashStorage<'a, S>
334 + impl<S> Storage for RmwMultiwriteNorFlashStorage<'_, S>
|
|
the following explicit lifetimes could be elided: 'a:
src/nor_flash.rs#L318
warning: the following explicit lifetimes could be elided: 'a
--> src/nor_flash.rs:318:6
|
318 | impl<'a, S> ReadStorage for RmwMultiwriteNorFlashStorage<'a, S>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
318 - impl<'a, S> ReadStorage for RmwMultiwriteNorFlashStorage<'a, S>
318 + impl<S> ReadStorage for RmwMultiwriteNorFlashStorage<'_, S>
|
|
empty doc comment:
src/nor_flash.rs#L292
warning: empty doc comment
--> src/nor_flash.rs:292:1
|
292 | ///
| ^^^
|
= help: consider removing or filling it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
|
the following explicit lifetimes could be elided: 'a:
src/nor_flash.rs#L259
warning: the following explicit lifetimes could be elided: 'a
--> src/nor_flash.rs:259:6
|
259 | impl<'a, S> Storage for RmwNorFlashStorage<'a, S>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
259 - impl<'a, S> Storage for RmwNorFlashStorage<'a, S>
259 + impl<S> Storage for RmwNorFlashStorage<'_, S>
|
|
the following explicit lifetimes could be elided: 'a:
src/nor_flash.rs#L243
warning: the following explicit lifetimes could be elided: 'a
--> src/nor_flash.rs:243:6
|
243 | impl<'a, S> ReadStorage for RmwNorFlashStorage<'a, S>
| ^^ ^^
|
= 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
|
243 - impl<'a, S> ReadStorage for RmwNorFlashStorage<'a, S>
243 + impl<S> ReadStorage for RmwNorFlashStorage<'_, S>
|
|
empty doc comment:
src/nor_flash.rs#L217
warning: empty doc comment
--> src/nor_flash.rs:217:1
|
217 | ///
| ^^^
|
= help: consider removing or filling it
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
= note: `#[warn(clippy::empty_docs)]` on by default
|
this loop could be written as a `for` loop:
src/iter.rs#L35
warning: this loop could be written as a `for` loop
--> src/iter.rs:35:3
|
35 | while let Some(region) = self.regions.next() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for region in self.regions.by_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator
= note: `#[warn(clippy::while_let_on_iterator)]` on by default
|
elided lifetime has a name:
src/iter.rs#L54
warning: elided lifetime has a name
--> src/iter.rs:54:75
|
49 | impl<'a, R, I> IterableByOverlaps<'a, R, I> for I
| -- lifetime `'a` declared here
...
54 | fn overlaps(self, memory: &'a [u8], base_address: u32) -> OverlapIterator<R, I> {
| ^ this elided lifetime gets resolved as `'a`
|
elided lifetime has a name:
src/iter.rs#L22
warning: elided lifetime has a name
--> src/iter.rs:22:75
|
16 | pub trait IterableByOverlaps<'a, R, I>
| -- lifetime `'a` declared here
...
22 | fn overlaps(self, memory: &'a [u8], base_address: u32) -> OverlapIterator<R, I>;
| ^ this elided lifetime gets resolved as `'a`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
|
clippy_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy_check
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/
|
clippy_check
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/
|
clippy_check
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/
|
clippy_check
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/
|