Fix typo in comment
This commit is contained in:
parent
d445e1ccaa
commit
c56f128338
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue