Skip to content

Commit 1883085

Browse files
wesleywisercuviper
andauthored
Update compiler/rustc_codegen_llvm/src/lib.rs
Co-authored-by: Josh Stone <cuviper@gmail.com>
1 parent 33762eb commit 1883085

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_llvm/src

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ impl ModuleLlvm {
462462
impl Drop for ModuleLlvm {
463463
fn drop(&mut self) {
464464
unsafe {
465-
drop(ManuallyDrop::take(&mut self.tm));
465+
ManuallyDrop::drop(&mut self.tm);
466466
llvm::LLVMContextDispose(&mut *(self.llcx as *mut _));
467467
}
468468
}

0 commit comments

Comments
 (0)