Skip to content

Commit c4556a5

Browse files
committed
Fix typos
1 parent aed7ec4 commit c4556a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/librustc_codegen_llvm/debuginfo/metadata.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ impl TypeMap<'ll, 'tcx> {
126126
// This kind of type cannot be properly represented
127127
// via LLVM debuginfo. As a workaround,
128128
// we register a temporary Ty to metadata mapping
129-
// for the function before we compute its actual metadat.a
129+
// for the function before we compute its actual metadata.
130130
// If the metadata computation ends up recursing back to the
131131
// original function, it will use the temporary mapping
132132
// for the inner self-reference, preventing us from
133133
// recursing forever.
134134
//
135135
// This function is used to remove the temporary metadata
136-
// mapping after we've computed the actual metadat
136+
// mapping after we've computed the actual metadata
137137
fn remove_type(
138138
&mut self,
139139
type_: Ty<'tcx>,
@@ -663,8 +663,6 @@ pub fn type_metadata(
663663
size.bits(),
664664
align.bits() as u32,
665665
DW_ATE_unsigned)
666-
667-
668666
}
669667
};
670668

0 commit comments

Comments
 (0)