about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2019-03-28 12:22:08 -0400
committerAaron Hill <aa1ronham@gmail.com>2019-03-31 20:09:30 -0400
commitc4556a5a656b70a8be726847f540c2184dec4ef4 (patch)
tree5bb65f92c483dc780c305512f0ec4b3fdfde99aa
parentaed7ec42b3615d0b469029a73a8638fcd57281cd (diff)
downloadrust-c4556a5a656b70a8be726847f540c2184dec4ef4.tar.gz
rust-c4556a5a656b70a8be726847f540c2184dec4ef4.zip
Fix typos
-rw-r--r--src/librustc_codegen_llvm/debuginfo/metadata.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs
index 3d742811ff0..94d520ec78c 100644
--- a/src/librustc_codegen_llvm/debuginfo/metadata.rs
+++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs
@@ -126,14 +126,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>,
@@ -663,8 +663,6 @@ pub fn type_metadata(
                         size.bits(),
                         align.bits() as u32,
                         DW_ATE_unsigned)
-
-
                 }
             };