Fix `rewrite_root` when there's only 1 replacement
Fix `rewrite_root` when there's only 1 replacement

rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer,rust-analyzer/rust-analyzer