1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

lint: fix clippy::redundant_clone of test_dd.rs test_cp.rs

This commit is contained in:
Krysztal112233 2024-03-22 17:38:54 +08:00
parent 35c39a65e5
commit ef8c379370
No known key found for this signature in database
GPG key ID: 331615739A596A02
2 changed files with 3 additions and 3 deletions

View file

@ -1641,7 +1641,7 @@ fn test_seek_past_dev() {
fn test_reading_partial_blocks_from_fifo() {
// Create the FIFO.
let ts = TestScenario::new(util_name!());
let at = ts.fixtures.clone();
let at = &ts.fixtures;
at.mkfifo("fifo");
let fifoname = at.plus_as_string("fifo");
@ -1682,7 +1682,7 @@ fn test_reading_partial_blocks_from_fifo() {
fn test_reading_partial_blocks_from_fifo_unbuffered() {
// Create the FIFO.
let ts = TestScenario::new(util_name!());
let at = ts.fixtures.clone();
let at = ts.fixtures;
at.mkfifo("fifo");
let fifoname = at.plus_as_string("fifo");