1
Fork 0

Fix typo in comment

This commit is contained in:
Douglas Creager 2018-12-20 16:19:55 -05:00
parent d445e1ccaa
commit c56f128338

View file

@ -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 {