begin interface for xtc #15
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (7)
src/formats/xtc.rs|3 col 10| warning: unused imports: BufRead and Write
--> src/formats/xtc.rs:3:10
|
3 | io::{BufRead, BufReader, BufWriter, Write},
| ^^^^^^^ ^^^^^
|
= note: #[warn(unused_imports)] on by default
src/formats/xtc.rs|13 col 29| warning: unused variable: reader
--> src/formats/xtc.rs:13:29
|
13 | fn read_next(&mut self, reader: &mut BufReader) -> Result<Frame, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: _reader
|
= note: #[warn(unused_variables)] on by default
src/formats/xtc.rs|17 col 24| warning: unused variable: reader
--> src/formats/xtc.rs:17:24
|
17 | fn read(&mut self, reader: &mut BufReader) -> Result<Option, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: _reader
src/formats/xtc.rs|21 col 30| warning: unused variable: writer
--> src/formats/xtc.rs:21:30
|
21 | fn write_next(&mut self, writer: &mut BufWriter, frame: &Frame) -> Result<(), CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: _writer
src/formats/xtc.rs|21 col 60| warning: unused variable: frame
--> src/formats/xtc.rs:21:60
|
21 | fn write_next(&mut self, writer: &mut BufWriter, frame: &Frame) -> Result<(), CError> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: _frame
src/formats/xtc.rs|25 col 23| warning: unused variable: reader
--> src/formats/xtc.rs:25:23
|
25 | fn forward(&self, reader: &mut BufReader) -> Result<Option, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: _reader
src/formats/xtc.rs|29 col 24| warning: unused variable: writer
--> src/formats/xtc.rs:29:24
|
29 | fn finalize(&self, writer: &mut BufWriter) -> Result<(), CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: _writer
Filtered Findings (0)
Annotations
Check warning on line 3 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L3
warning: unused imports: `BufRead` and `Write`
--> src/formats/xtc.rs:3:10
|
3 | io::{BufRead, BufReader, BufWriter, Write},
| ^^^^^^^ ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw output
src/formats/xtc.rs:3:10:w:warning: unused imports: `BufRead` and `Write`
--> src/formats/xtc.rs:3:10
|
3 | io::{BufRead, BufReader, BufWriter, Write},
| ^^^^^^^ ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
Check warning on line 13 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L13
warning: unused variable: `reader`
--> src/formats/xtc.rs:13:29
|
13 | fn read_next(&mut self, reader: &mut BufReader<File>) -> Result<Frame, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
|
= note: `#[warn(unused_variables)]` on by default
Raw output
src/formats/xtc.rs:13:29:w:warning: unused variable: `reader`
--> src/formats/xtc.rs:13:29
|
13 | fn read_next(&mut self, reader: &mut BufReader<File>) -> Result<Frame, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
|
= note: `#[warn(unused_variables)]` on by default
__END__
Check warning on line 17 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L17
warning: unused variable: `reader`
--> src/formats/xtc.rs:17:24
|
17 | fn read(&mut self, reader: &mut BufReader<File>) -> Result<Option<Frame>, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
Raw output
src/formats/xtc.rs:17:24:w:warning: unused variable: `reader`
--> src/formats/xtc.rs:17:24
|
17 | fn read(&mut self, reader: &mut BufReader<File>) -> Result<Option<Frame>, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
__END__
Check warning on line 21 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L21
warning: unused variable: `writer`
--> src/formats/xtc.rs:21:30
|
21 | fn write_next(&mut self, writer: &mut BufWriter<File>, frame: &Frame) -> Result<(), CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
Raw output
src/formats/xtc.rs:21:30:w:warning: unused variable: `writer`
--> src/formats/xtc.rs:21:30
|
21 | fn write_next(&mut self, writer: &mut BufWriter<File>, frame: &Frame) -> Result<(), CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
__END__
Check warning on line 21 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L21
warning: unused variable: `frame`
--> src/formats/xtc.rs:21:60
|
21 | fn write_next(&mut self, writer: &mut BufWriter<File>, frame: &Frame) -> Result<(), CError> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
Raw output
src/formats/xtc.rs:21:60:w:warning: unused variable: `frame`
--> src/formats/xtc.rs:21:60
|
21 | fn write_next(&mut self, writer: &mut BufWriter<File>, frame: &Frame) -> Result<(), CError> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
__END__
Check warning on line 25 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L25
warning: unused variable: `reader`
--> src/formats/xtc.rs:25:23
|
25 | fn forward(&self, reader: &mut BufReader<File>) -> Result<Option<u64>, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
Raw output
src/formats/xtc.rs:25:23:w:warning: unused variable: `reader`
--> src/formats/xtc.rs:25:23
|
25 | fn forward(&self, reader: &mut BufReader<File>) -> Result<Option<u64>, CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
__END__
Check warning on line 29 in src/formats/xtc.rs
github-actions / clippy
[clippy] src/formats/xtc.rs#L29
warning: unused variable: `writer`
--> src/formats/xtc.rs:29:24
|
29 | fn finalize(&self, writer: &mut BufWriter<File>) -> Result<(), CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
Raw output
src/formats/xtc.rs:29:24:w:warning: unused variable: `writer`
--> src/formats/xtc.rs:29:24
|
29 | fn finalize(&self, writer: &mut BufWriter<File>) -> Result<(), CError> {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
__END__