diff options
| author | Douglas Creager <dcreager@github.com> | 2018-12-20 16:19:55 -0500 |
|---|---|---|
| committer | Douglas Creager <dcreager@github.com> | 2018-12-20 16:19:55 -0500 |
| commit | c56f12833837648d1a4ef40b714efea9c309f8c4 (patch) | |
| tree | 74dcbc18e17e5ad35b709c10f98a68e69b595fb9 | |
| parent | d445e1ccaa18e501870dd4cf52f41980b7260c2c (diff) | |
| download | rust-c56f12833837648d1a4ef40b714efea9c309f8c4.tar.gz rust-c56f12833837648d1a4ef40b714efea9c309f8c4.zip | |
Fix typo in comment
| -rw-r--r-- | src/librustc_metadata/native_libs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_metadata/native_libs.rs b/src/librustc_metadata/native_libs.rs index 1ea4e4370eb..2c6ef4baa55 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 { |
