Commit 066df62
committed
refactor(rm): replace map_or with is_some_and for preserve_root_all check
Use the more idiomatic `is_some_and` method to check if the "all" value is present in the preserve_root options, improving code readability and leveraging modern Rust features.1 parent 0bd8995 commit 066df62
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
0 commit comments