From c56f12833837648d1a4ef40b714efea9c309f8c4 Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Thu, 20 Dec 2018 16:19:55 -0500 Subject: [PATCH] Fix typo in comment --- src/librustc_metadata/native_libs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_metadata/native_libs.rs b/src/librustc_metadata/native_libs.rs index 1ea4e4370eb1..2c6ef4baa55e 100644 --- a/src/librustc_metadata/native_libs.rs +++ b/src/librustc_metadata/native_libs.rs @@ -216,8 +216,8 @@ impl<'a, 'tcx> Collector<'a, 'tcx> { // in question.) for &(ref name, ref new_name, kind) in &self.tcx.sess.opts.libs { // If we've already added any native libraries with the same - // name, they will be pulled out into `moved`, so that we can - // move them to the end of the list below. + // name, they will be pulled out into `existing`, so that we + // can move them to the end of the list below. let mut existing = self.libs.drain_filter(|lib| { if let Some(lib_name) = lib.name { if lib_name == name as &str {