We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c8a1830 + 15b3194 commit 17fee51Copy full SHA for 17fee51
src/uu/sort/src/sort.rs
@@ -258,9 +258,7 @@ impl Output {
258
let file = if let Some(name) = name {
259
// This is different from `File::create()` because we don't truncate the output yet.
260
// This allows using the output file as an input file.
261
- // clippy::suspicious_open_options supported only for Rust >= 1.77.0
262
- // Rust version = 1.76 on OpenBSD stable/7.5
263
- #[cfg_attr(not(target_os = "openbsd"), allow(clippy::suspicious_open_options))]
+ #[allow(clippy::suspicious_open_options)]
264
let file = OpenOptions::new()
265
.write(true)
266
.create(true)
0 commit comments