]> git.lizzy.rs Git - rust.git/commitdiff
Fix typos
authorAaron Hill <aa1ronham@gmail.com>
Thu, 28 Mar 2019 16:22:08 +0000 (12:22 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Mon, 1 Apr 2019 00:09:30 +0000 (20:09 -0400)
src/librustc_codegen_llvm/debuginfo/metadata.rs

index 3d742811ff049b62c3a6a0860266f8413970f125..94d520ec78c71a54f48822c7bbfbda17a155a338 100644 (file)
@@ -126,14 +126,14 @@ fn register_type_with_metadata(
     // 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>,
@@ -663,8 +663,6 @@ pub fn type_metadata(
                         size.bits(),
                         align.bits() as u32,
                         DW_ATE_unsigned)
-
-
                 }
             };