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

clippy: fix warnings introduced by Rust 1.76

This commit is contained in:
Daniel Hofstetter 2024-02-08 16:40:31 +01:00
parent dd64bae278
commit 04ebd863a6
5 changed files with 17 additions and 24 deletions

View file

@ -503,7 +503,6 @@ fn test_write_to_self_empty() {
let file = OpenOptions::new()
.create_new(true)
.write(true)
.append(true)
.open(&file_path)
.unwrap();
@ -519,7 +518,6 @@ fn test_write_to_self() {
let file = OpenOptions::new()
.create_new(true)
.write(true)
.append(true)
.open(file_path)
.unwrap();