Commit 43cccdf
committed
refactor(rm/linux): remove mut from dir_fd parameter in safe_remove_dir_recursive_impl
The `dir_fd` parameter was marked as mutable but is not modified within the function,
so removing `mut` enforces Rust's immutability-by-default principle and improves code clarity.1 parent f4aed24 commit 43cccdf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
0 commit comments