File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1307,7 +1307,6 @@ fn parse_path_args(
13071307 } ;
13081308
13091309 if options. strip_trailing_slashes {
1310- #[ allow( clippy:: assigning_clones) ]
13111310 for source in & mut paths {
13121311 * source = source. components ( ) . as_path ( ) . to_owned ( ) ;
13131312 }
Original file line number Diff line number Diff line change @@ -291,7 +291,6 @@ mod tests {
291291 }
292292
293293 #[ test]
294- #[ allow( clippy:: assigning_clones) ]
295294 fn test_dev_name_match ( ) {
296295 let tmp = tempfile:: TempDir :: new ( ) . expect ( "Failed to create temp dir" ) ;
297296 let dev_name = std:: fs:: canonicalize ( tmp. path ( ) )
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ impl WatcherRx {
4949 Tested for notify::InotifyWatcher and for notify::PollWatcher.
5050 */
5151 if let Some ( parent) = path. parent ( ) {
52- #[ allow( clippy:: assigning_clones) ]
5352 if parent. is_dir ( ) {
5453 path = parent. to_owned ( ) ;
5554 } else {
You can’t perform that action at this time.
0 commit comments