Skip to content

Commit c56f128

Browse files
committed
Fix typo in comment
1 parent d445e1c commit c56f128

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_metadata/native_libs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ impl<'a, 'tcx> Collector<'a, 'tcx> {
216216
// in question.)
217217
for &(ref name, ref new_name, kind) in &self.tcx.sess.opts.libs {
218218
// If we've already added any native libraries with the same
219-
// name, they will be pulled out into `moved`, so that we can
220-
// move them to the end of the list below.
219+
// name, they will be pulled out into `existing`, so that we
220+
// can move them to the end of the list below.
221221
let mut existing = self.libs.drain_filter(|lib| {
222222
if let Some(lib_name) = lib.name {
223223
if lib_name == name as &str {

0 commit comments

Comments
 (0)