From 50ab958a5209165986f14408cd70a0a5c0a2d4c7 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Thu, 28 Mar 2019 12:22:08 -0400 Subject: [PATCH] Fix typos --- src/librustc_codegen_llvm/debuginfo/metadata.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs index 58475226d93ee..1805bba50c5f4 100644 --- a/src/librustc_codegen_llvm/debuginfo/metadata.rs +++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs @@ -125,14 +125,14 @@ impl TypeMap<'ll, 'tcx> { // This kind of type cannot be properly represented // via LLVM debuginfo. As a workaround, // we register a temporary Ty to metadata mapping - // for the function before we compute its actual metadat.a + // for the function before we compute its actual metadata. // If the metadata computation ends up recursing back to the // original function, it will use the temporary mapping // for the inner self-reference, preventing us from // recursing forever. // // This function is used to remove the temporary metadata - // mapping after we've computed the actual metadat + // mapping after we've computed the actual metadata fn remove_type( &mut self, type_: Ty<'tcx>, @@ -651,8 +651,6 @@ pub fn type_metadata( size.bits(), align.bits() as u32, DW_ATE_unsigned) - - } };