Commit 80c40df 1 parent 136a16b commit 80c40df Copy full SHA for 80c40df
File tree 2 files changed +1
-13
lines changed
relative-path-utils/src/root
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 35
35
runs-on : ubuntu-latest
36
36
steps :
37
37
- uses : actions/checkout@v4
38
- - uses : dtolnay/rust-toolchain@1.73
38
+ - uses : dtolnay/rust-toolchain@stable
39
39
with :
40
40
components : clippy
41
41
- run : cargo clippy --workspace --all-features --all-targets -- -D warnings
Original file line number Diff line number Diff line change @@ -280,11 +280,6 @@ impl Iterator for ReadDir {
280
280
}
281
281
}
282
282
283
- struct FindNextFileHandle ( HANDLE ) ;
284
-
285
- unsafe impl Send for FindNextFileHandle { }
286
- unsafe impl Sync for FindNextFileHandle { }
287
-
288
283
pub ( super ) struct DirEntry {
289
284
file_name : OsString ,
290
285
}
@@ -307,13 +302,6 @@ impl DirEntry {
307
302
}
308
303
}
309
304
310
- impl Drop for FindNextFileHandle {
311
- fn drop ( & mut self ) {
312
- let r = unsafe { c:: FindClose ( self . 0 ) } ;
313
- debug_assert ! ( r != 0 ) ;
314
- }
315
- }
316
-
317
305
fn is_current ( path : & RelativePath ) -> bool {
318
306
path. components ( ) . all ( |c| c == Component :: CurDir )
319
307
}
You can’t perform that action at this time.
0 commit comments