Update bitstream-io requirement from 1.3 to 2.2 #136
Annotations
13 warnings
Lint 📎
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs-plus/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
the following explicit lifetimes could be elided: 'a:
src/demultiplex.rs#L380
warning: the following explicit lifetimes could be elided: 'a
--> src/demultiplex.rs:380:16
|
380 | fn section<'a>(
| ^^
...
385 | data: &'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
|
380 ~ fn section(
381 | &mut self,
...
384 | table_syntax_header: &psi::TableSyntaxHeader<'_>,
385 ~ data: &[u8],
|
|
the following explicit lifetimes could be elided: 'a:
src/demultiplex.rs#L518
warning: the following explicit lifetimes could be elided: 'a
--> src/demultiplex.rs:518:16
|
518 | fn section<'a>(
| ^^
...
523 | data: &'a [u8],
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
518 ~ fn section(
519 | &mut self,
...
522 | table_syntax_header: &psi::TableSyntaxHeader<'_>,
523 ~ data: &[u8],
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L57
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:57:22
|
57 | fn start_section<'a>(
| ^^
...
61 | section_data: &'a [u8],
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
57 ~ fn start_section(
58 | &mut self,
59 | ctx: &mut Self::Context,
60 | header: &SectionCommonHeader,
61 ~ section_data: &[u8],
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L65
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:65:25
|
65 | fn continue_section<'a>(&mut self, ctx: &mut Self::Context, section_data: &'a [u8]);
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
65 - fn continue_section<'a>(&mut self, ctx: &mut Self::Context, section_data: &'a [u8]);
65 + fn continue_section(&mut self, ctx: &mut Self::Context, section_data: &[u8]);
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L242
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:242:16
|
242 | fn section<'a>(&mut self, _: &mut Self::Context, header: &SectionCommonHeader, data: &'a [u8]);
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
242 - fn section<'a>(&mut self, _: &mut Self::Context, header: &SectionCommonHeader, data: &'a [u8]);
242 + fn section(&mut self, _: &mut Self::Context, header: &SectionCommonHeader, data: &[u8]);
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L307
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:307:32
|
307 | fn continue_syntax_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
307 - fn continue_syntax_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) {
307 + fn continue_syntax_section(&mut self, ctx: &mut Self::Context, data: &[u8]) {
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L370
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:370:30
|
370 | fn start_compact_section<'a>(
| ^^
...
374 | data: &'a [u8],
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
370 ~ fn start_compact_section(
371 | &mut self,
372 | ctx: &mut Self::Context,
373 | header: &SectionCommonHeader,
374 ~ data: &[u8],
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L391
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:391:33
|
391 | fn continue_compact_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
391 - fn continue_compact_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) {
391 + fn continue_compact_section(&mut self, ctx: &mut Self::Context, data: &[u8]) {
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L473
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:473:32
|
473 | fn continue_syntax_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
473 - fn continue_syntax_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]) {
473 + fn continue_syntax_section(&mut self, ctx: &mut Self::Context, data: &[u8]) {
|
|
the following explicit lifetimes could be elided: 'a:
src/psi/mod.rs#L503
warning: the following explicit lifetimes could be elided: 'a
--> src/psi/mod.rs:503:32
|
503 | fn continue_syntax_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]);
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
503 - fn continue_syntax_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8]);
503 + fn continue_syntax_section(&mut self, ctx: &mut Self::Context, data: &[u8]);
|
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|