Rollup merge of #161601 - GTimothy:empty-path-optim, r=fmease
Path: use optimized is_empty() method A simple change: use the new `Path::is_empty` method, that directly checks if the inner `OsStr` is empty instead of allocating a new `Path` and doing `Path` equality.
S
Stuart Cook committed
ddbc26dda84bc1befcce7a63850d99ae755738ef
Committed by GitHub <noreply@github.com>
on 8/24/2026, 4:21:58 AM