gpui: Remove some unnecessary unsafe code (#40483)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-10-17 14:20:13 +02:00
committed by GitHub
parent eb3f9b0ea3
commit b59a3bbd49
10 changed files with 76 additions and 92 deletions
+1 -3
View File
@@ -525,9 +525,7 @@ where
"local task dropped by a thread that didn't spawn it. Task spawned at {}",
self.location
);
unsafe {
ManuallyDrop::drop(&mut self.inner);
}
unsafe { ManuallyDrop::drop(&mut self.inner) };
}
}