File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -1279,9 +1279,7 @@ fn parse_path_args(
12791279 } ;
12801280
12811281 if options. strip_trailing_slashes {
1282- // clippy::assigning_clones added with Rust 1.78
1283- // Rust version = 1.76 on OpenBSD stable/7.5
1284- #[ cfg_attr( not( target_os = "openbsd" ) , allow( clippy:: assigning_clones) ) ]
1282+ #[ allow( clippy:: assigning_clones) ]
12851283 for source in & mut paths {
12861284 * source = source. components ( ) . as_path ( ) . to_owned ( ) ;
12871285 }
Original file line number Diff line number Diff line change @@ -291,9 +291,7 @@ mod tests {
291291 }
292292
293293 #[ test]
294- // clippy::assigning_clones added with Rust 1.78
295- // Rust version = 1.76 on OpenBSD stable/7.5
296- #[ cfg_attr( not( target_os = "openbsd" ) , allow( clippy:: assigning_clones) ) ]
294+ #[ allow( clippy:: assigning_clones) ]
297295 fn test_dev_name_match ( ) {
298296 let tmp = tempfile:: TempDir :: new ( ) . expect ( "Failed to create temp dir" ) ;
299297 let dev_name = std:: fs:: canonicalize ( tmp. path ( ) )
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments