Skip to content

Commit 1011078

Browse files
wesleywisercuviper
andcommitted
Update compiler/rustc_codegen_llvm/src/lib.rs
Co-authored-by: Josh Stone <[email protected]>
1 parent 3323e4d commit 1011078

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ impl ModuleLlvm {
470470
impl Drop for ModuleLlvm {
471471
fn drop(&mut self) {
472472
unsafe {
473-
drop(ManuallyDrop::take(&mut self.tm));
473+
ManuallyDrop::drop(&mut self.tm);
474474
llvm::LLVMContextDispose(&mut *(self.llcx as *mut _));
475475
}
476476
}

0 commit comments

Comments
 (0)