Skip to content

Commit 6485735

Browse files
committed
Revert "tail: disable clippy::assigning_clones on OpenBSD"
This reverts commit 14258b1.
1 parent 2896522 commit 6485735

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/uu/tail/src/follow/watch.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ impl WatcherRx {
4747
Tested for notify::InotifyWatcher and for notify::PollWatcher.
4848
*/
4949
if let Some(parent) = path.parent() {
50-
// clippy::assigning_clones added with Rust 1.78
51-
// Rust version = 1.76 on OpenBSD stable/7.5
52-
#[cfg_attr(not(target_os = "openbsd"), allow(clippy::assigning_clones))]
50+
#[allow(clippy::assigning_clones)]
5351
if parent.is_dir() {
5452
path = parent.to_owned();
5553
} else {

0 commit comments

Comments
 (0)