Skip to content

Commit 50ab958

Browse files
committed
Fix typos
1 parent 93813cf commit 50ab958

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
@@ -125,14 +125,14 @@ impl TypeMap<'ll, 'tcx> {
125125
// This kind of type cannot be properly represented
126126
// via LLVM debuginfo. As a workaround,
127127
// we register a temporary Ty to metadata mapping
128-
// for the function before we compute its actual metadat.a
128+
// for the function before we compute its actual metadata.
129129
// If the metadata computation ends up recursing back to the
130130
// original function, it will use the temporary mapping
131131
// for the inner self-reference, preventing us from
132132
// recursing forever.
133133
//
134134
// This function is used to remove the temporary metadata
135-
// mapping after we've computed the actual metadat
135+
// mapping after we've computed the actual metadata
136136
fn remove_type(
137137
&mut self,
138138
type_: Ty<'tcx>,
@@ -651,8 +651,6 @@ pub fn type_metadata(
651651
size.bits(),
652652
align.bits() as u32,
653653
DW_ATE_unsigned)
654-
655-
656654
}
657655
};
658656

0 commit comments

Comments
 (0)