Skip to content

Commit 96a049c

Browse files
committed
lint(cat): unused variables
1 parent 4671254 commit 96a049c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uu/cat/src/cat.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ fn get_input_type(path: &OsString) -> CatResult<InputType> {
485485

486486
/// Writes handle to stdout with no configuration. This allows a
487487
/// simple memory copy.
488+
#[allow(unused_variables)]
488489
fn write_fast<R: FdReadable>(handle: &mut InputHandle<R>, skip_splice: bool) -> CatResult<()> {
489490
let stdout = io::stdout();
490491
let mut stdout_lock = stdout.lock();

0 commit comments

Comments
 (0)