mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-31 13:07:46 +00:00
lint: fix lint clippy::suspicious_open_options
This commit is contained in:
parent
77a67559eb
commit
21d6eab847
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ impl Output {
|
|||
let file = OpenOptions::new()
|
||||
.write(true)
|
||||
.create(true)
|
||||
.truncate(true)
|
||||
.open(name)
|
||||
.map_err(|e| SortError::OpenFailed {
|
||||
path: name.to_owned(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue