mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
clippy: fix warnings introduced by Rust 1.74
This commit is contained in:
parent
7ff4cb3f4e
commit
2f9fcf73fa
4 changed files with 8 additions and 10 deletions
|
@ -1470,7 +1470,7 @@ fn test_seek_output_fifo() {
|
|||
.args(&["count=0", "seek=1", "of=fifo", "status=noxfer"])
|
||||
.run_no_wait();
|
||||
|
||||
std::fs::write(at.plus("fifo"), &vec![0; 512]).unwrap();
|
||||
std::fs::write(at.plus("fifo"), vec![0; 512]).unwrap();
|
||||
|
||||
child
|
||||
.wait()
|
||||
|
@ -1492,7 +1492,7 @@ fn test_skip_input_fifo() {
|
|||
.args(&["count=0", "skip=1", "if=fifo", "status=noxfer"])
|
||||
.run_no_wait();
|
||||
|
||||
std::fs::write(at.plus("fifo"), &vec![0; 512]).unwrap();
|
||||
std::fs::write(at.plus("fifo"), vec![0; 512]).unwrap();
|
||||
|
||||
child
|
||||
.wait()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue