fix(nvim): remove unused mut variables

This commit is contained in:
Riz Ashraf committed 2026-09-23 05:00:35 +01:00
1 parent e5d4002b38
commit 14db90acbf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ pub async fn spawn_headless_nvim() -> Result<String, String> {
tokio::time::sleep(tokio::time::Duration::from_millis(1000)).await;
let mut old_child = {
let old_child = {
let mut lock = HEADLESS_PROC.lock().unwrap_or_else(|e| e.into_inner());
let old = lock.take();
*lock = Some(child);