Skip to content

Commit f0444a5

Browse files
wesleywisercuviper
authored andcommitted
Update compiler/rustc_codegen_llvm/src/lib.rs
Co-authored-by: Josh Stone <cuviper@gmail.com>
1 parent 2303087 commit f0444a5

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
@@ -467,7 +467,7 @@ impl ModuleLlvm {
467467
impl Drop for ModuleLlvm {
468468
fn drop(&mut self) {
469469
unsafe {
470-
drop(ManuallyDrop::take(&mut self.tm));
470+
ManuallyDrop::drop(&mut self.tm);
471471
llvm::LLVMContextDispose(&mut *(self.llcx as *mut _));
472472
}
473473
}

0 commit comments

Comments
 (0)